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
-print-memory-usage print memory usage every second
-help, -h show help
Usage
duplicacy [global options] command
Options
-verbose, -v
Show more detailed messages. For the highest level of info, choose -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.
-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 option is designed for Duplicacy GUI.
-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 https://golang.org/pkg/net/http/pprof/ for instructions.
-comment
The -comment option was introduced to allow Duplicacy processes 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 given log id. This option can be specified multiple times.
-print-memory-usage
Print the memory usage every second throughout the program execution.
-help, -h
Show the help.