Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2017
    Posts
    2

    Default Extract Sync Session to Log File?

    Hello,

    maybe just a short question but currently I did not find any answer.

    If I define a Sync Session in the programm, is there any way to extract this sync command to a shell/batch?

    This means basically the other way round... using the programm to define selections, folder, exclusions, etc. and then make a batch file out of this.

    Thanks.

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    4,728

    Default

    Beyond Compare can't generate a script or batch file from an interactive session.

    Beyond Compare does support command line automation with scripts. See the Using Beyond Compare | Scripts and Scripting Reference topics in Beyond Compare's help file for details.

    Example sync script:
    log verbose c:\log.txt
    load c:\left c:\right
    sync update:left->right

    Command line to run the script:
    "c:\program files\beyond compare 4\bcompare.exe" @c:\script.txt

    The @ character makes BC run a file as a script rather than loading it in a graphical comparison.
    Chris K Scooter Software

  3. #3
    Join Date
    Feb 2017
    Posts
    2

    Default

    Hey Chris,

    thanks for your reponse. My Idea behind was a kind of log file which contains the paramters I used in the interactive session.
    Kind of DebugMode.

    Just to ensure which possible options I need to use in my script. Exluding some file extensions, exclusion of file paths, etc.
    But then I need to try to go on fixing my script.

    Thanks a lot.

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,899

    Default

    No problem. Enhanced script generation is something on our Wishlist, but is a long term project and not one we'll be able to tackle soon.
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •