‐‐8‐bit‐output, ‐8 leave high‐bit chars unescaped in output
‐‐human‐readable, ‐h output numbers in a human‐readable format
‐‐progress show progress during transfer
‐P same as ‐‐partial ‐‐progress
‐‐itemize‐changes, ‐i output a change‐summary for all updates
‐‐remote‐option=OPT, ‐M send OPTION to the remote side only
‐‐out‐format=FORMAT output updates using the specified FORMAT
‐‐log‐file=FILE log what we’re doing to the specified FILE
‐‐log‐file‐format=FMT log updates using the specified FMT
‐‐password‐file=FILE read daemon‐access password from FILE
‐‐early‐input=FILE use FILE for daemon’s early exec input
‐‐list‐only list the files instead of copying them
‐‐bwlimit=RATE limit socket I/O bandwidth
‐‐stop‐after=MINS Stop rsync after MINS minutes have elapsed
‐‐stop‐at=y‐m‐dTh:m Stop rsync at the specified point in time
‐‐fsync fsync every written file
‐‐write‐batch=FILE write a batched update to FILE
‐‐only‐write‐batch=FILE like ‐‐write‐batch but w/o updating dest
‐‐read‐batch=FILE read a batched update from FILE
‐‐protocol=NUM force an older protocol version to be used
‐‐iconv=CONVERT_SPEC request charset conversion of filenames
‐‐checksum‐seed=NUM set block/file checksum seed (advanced)
‐‐ipv4, ‐4 prefer IPv4
‐‐ipv6, ‐6 prefer IPv6
‐‐version, ‐V print the version + other info and exit
‐‐help, ‐h (*) show this help (* ‐h is help only on its own)
Rsync can also be run as a daemon, in which case the following options
are accepted:
‐‐daemon run as an rsync daemon
‐‐address=ADDRESS bind to the specified address
‐‐bwlimit=RATE limit socket I/O bandwidth
‐‐config=FILE specify alternate rsyncd.conf file
‐‐dparam=OVERRIDE, ‐M override global daemon config parameter
‐‐no‐detach do not detach from the parent
‐‐port=PORT listen on alternate port number
‐‐log‐file=FILE override the "log file" setting
‐‐log‐file‐format=FMT override the "log format" setting
‐‐sockopts=OPTIONS specify custom TCP options
‐‐verbose, ‐v increase verbosity
‐‐ipv4, ‐4 prefer IPv4
‐‐ipv6, ‐6 prefer IPv6
‐‐help, ‐h show this help (when used with ‐‐daemon)
OPTIONS
Rsync accepts both long (double‐dash + word) and short (single‐dash +
letter) options. The full list of the available options are described
below. If an option can be specified in more than one way, the choices
are comma‐separated. Some options only have a long variant, not a
short.
If the option takes a parameter, the parameter is only listed after the
long variant, even though it must also be specified for the short. When
specifying a parameter, you can either use the form --option=param,
--option param, -o=param, -o param, or -oparam (the latter choices as‐
sume that your option has a short variant).
The parameter may need to be quoted in some manner for it to survive the
shell’s command‐line parsing. Also keep in mind that a leading tilde
(~) in a pathname is substituted by your shell, so make sure that you
separate the option name from the pathname using a space if you want the
local shell to expand it.
--help Print a short help page describing the options available in rsync
and exit. You can also use -h for --help when it is used without
any other options (since it normally means --human‐readable).