Announcement

Collapse
No announcement yet.

Command Line Folder Sync Session with Automatic Push of "Sync Now"

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Command Line Folder Sync Session with Automatic Push of "Sync Now"

    I'm 99% on my way to creating a shortcut to sync one drive to an external drive. I've created a Folder Sync session that works fine when I call it from a Windows shortcut. It Scans the two drives and determines the changes that are ready for sync. It then waits for someone to press the "Sync Now" button. Is there a command line "switch" to cause the session to automatically press the "Sync Now" after the scan?

    The shortcut's command line: "C:\Program Files\Beyond Compare 4\BCompare.exe" "Mirror_D_to_R"

  • #2
    There isn't a shortcut to make a graphical Beyond Compare session sync automatically. Instead, you'll need to use a Beyond Compare script. See the "Using Beyond Compare > Scripts" and "Scripting Reference" topics in Beyond Compare's help file.

    Example script:
    load c:\folder1 c:\folder2
    sync update:left->right

    To run the script, use the command line:
    "C:\Program Files\Beyond Compare 4\BCompare.exe" @c:\script.txt

    The @ character makes Beyond Compare run a file as a script instead of loading it for interactive comparison.
    Chris K Scooter Software

    Comment

    Working...
    X