Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • When the Sync Tool runs, it creates a backup of your configuration in the work directory that you specify. When running the tool again, you can make use of this file to keep from having to re-enter all of the options specified on the initial run. In this case you need only a single option:

    Short Option

    Long Option

    Argument Expected

    Required

    Description

    -g

    --config-file

    Yes

    Yes

    Read configuration from this file (a file containing the most recently used configuration can be found in the work-dir, named synctool.config)

    Examples of commands to use the command line SyncToolSync Tool

  • Command to sync the contents of a single local content directory to DuraCloud.

    Code Block
    java -jar duracloudsync-{version}.jar -c C:\files\important -h test.duracloud.org -s important-dir-backup -u myname -p mypassword
  • Command to sync the contents of multiple local content directories to DuraCloud.

    Code Block
    java -jar duracloudsync-{version}.jar -c C:\files\important C:\Users\me\Documents\important -h test.duracloud.org -s important-dir-backup -u myname -p mypassword

...