PDA

View Full Version : file report for result files of folder report


fgoettler
17-Oct-2011, 09:12 AM
I would like to automatically generate the following reports

1. a folder diff report that shows all files that have been changed (I have that one working)

2. a file-report that shows all changes in all files from report 1.

I currently create these reports manually but would like to automate that process. What is the best way to do that?

Aaron
17-Oct-2011, 10:07 AM
Hello,

You can use BC3 scripting to automate these tasks. Documentation can be found in the Help file -> Using Beyond Compare -> Automating with Script section, or in the Scripting Reference topic.

Your script would be called from the command line (or Windows Scheduled task) with:
bcompare.exe "@c:\bcscript.txt"

where bcscript.txt could contain:
log verbose "c:\bclog.txt"
load "c:\folder1" "c:\folder2"
expand all
folder-report layout:side-by-side options:display-mismatches output-to:"c:\bcreport.txt"
select files.diff files.newer files.older files.orphan
text-report layout:side-by-side output-to:"c:\bctextreport.txt"