Global options details

These options apply to all duplicacy commands and must be placed before any command

Quick overview

   -verbose, -v                 show more detailed information
   -debug, -d                   show even more detailed information, useful for debugging
   -log                         enable log-style output
   -stack                       print the stack trace when an error occurs
   -no-script                   do not run script before or after command execution
   -background                  read passwords, tokens, or keys only from keychain/keyring or env
   -profile <address:port>      enable the profiling tool and listen on the specified address:port
   -comment                     add a comment to identify the process
   -suppress, -s <id> [+]       suppress logs with the specified id
   -help, -h                    show help

Usage

duplicacy [global options] command

Options


-verbose, -v

Show more detailed messages. For the highest level of info, chose -debug. By default, only INFO, WARNING, and ERROR messages are displayed.


-debug, -d

Show DEBUG level messages (the highest, most detailed level of messages). By default, only INFO, WARNING, and ERROR messages are displayed.


-log

Show the timestamp, level, and the message id of each log message.


-stack

The -stack option is used to dump the stack trace when an error occurs to help locate where the error is.


-no-script

Using this option will stop Pre Command and Post Command Scripts from running. This is usually used to avoid an infinite loop of command execution.


:no_entry_sign: :no_entry:-background

The -background option will instruct Duplicacy not to ask for interactive password input. As a result, Duplicacy will read all credentials only from keychain/keyring or the environment variables. If a credential can’t be found, an error will be reported.

This is the default CLI usage!

:no_entry_sign: This options should is useful only for duplicacy GUI and therefore should never be used by duplicacy CLI!


-profile <address:port>

With the -profile option, you can open http://address:port/debug/pprof/ in a browser to profile a running Duplicacy instance.

Please refer to pprof - The Go Programming Language for instructions.


-comment

The -comment option was introduced to allow Duplicacy processed to be identified by arguments, for example when using ps.

Example

Suppose you have 2 duplicacy processes running:

duplicacy -comment LONG_OPERATION check -all &
duplicacy check -all &

when you ps ax | grep duplicacy there will be nothing of help to differentiate the 2 processes.
But when you use this option: ps ax | grep LONG_OPERATION you will find your desired process.


-suppress LOGID, -s LOGID

Do not print the log messages with the specified log id. This option can be specified multiple times.


-help, -h

Show the help.