If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Save it as a text file, then run it using the following command line:
bcompare @c:\script.txt
The @ character tells Beyond Compare to run a file as a script rather than load it for interactive comparison.
Since you referenced Bash, if you're running Beyond Compare for Linux, be aware it requires an X-Windows session to run, even for scripts. This means a Beyond Compare script won't run as a Cron job. Beyond Compare for Windows scripts run fine using the Windows Task Scheduler without an interactive user logged in.
I have been annoyed by the fact that I have to make a script instead of using the GUI to generate one from a session.
Just a question: Why can't it generate a script from a session?
Scheduling syncs and generating scripts from the GUI are both on our wish list for a future version of Beyond Compare, but are not supported in Beyond Compare 3.3.10.
Sorry, Beyond Compare can't export a session from the GUI. To automate Beyond Compare, you'll have to write a script. See Beyond Compare's help files for information about scripting.
Comment