X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/6902ed178ba54c8e1c410519f7ee576ddb42554c..23bf32f767246a88d0689c05c9a45d92f3931634:/rsync.yo diff --git a/rsync.yo b/rsync.yo index d4209ab4..0bb19448 100644 --- a/rsync.yo +++ b/rsync.yo @@ -267,7 +267,8 @@ verb( --include-from=FILE don't exclude patterns listed in FILE --version print version number --daemon run as a rsync daemon - --address bind to the specified address + --no-detach do not detach from the parent + --address=ADDRESS bind to the specified address --config=FILE specify alternate rsyncd.conf file --port=PORT specify alternate rsyncd port number --blocking-io use blocking IO for the remote shell @@ -334,8 +335,13 @@ explicitly checked on the receiver and any files of the same name which already exist and have the same checksum and size on the receiver are skipped. This option can be quite slow. -dit(bf(-a, --archive)) This is equivalent to -rlptgoD. It is a quick way -of saying you want recursion and want to preserve everything. +dit(bf(-a, --archive)) This is equivalent to -rlptgoD. It is a quick +way of saying you want recursion and want to preserve almost +everything. + +Note however that bf(-a) bf(does not preserve hardlinks), because +finding multiply-linked files is expensive. You must separately +specify bf(-H). dit(bf(-r, --recursive)) This tells rsync to copy directories recursively. If you don't specify this then rsync won't copy @@ -488,7 +494,7 @@ contains a directory of the same name. Since this option was added, deletions were reordered to be done depth-first so it is hardly ever needed anymore except in very obscure cases. -dit(bf(-B , --block_size=BLOCKSIZE)) This controls the block size used in +dit(bf(-B , --block-size=BLOCKSIZE)) This controls the block size used in the rsync algorithm. See the technical report for details. dit(bf(-e, --rsh=COMMAND)) This option allows you to choose an alternative @@ -619,6 +625,15 @@ config file (/etc/rsyncd.conf) on each connect made by a client and respond to requests accordingly. See the rsyncd.conf(5) man page for more details. +dit(bf(--no-detach)) When running as a daemon, this option instructs +rsync to not detach itself and become a background process. This +option is required when running as a service on Cygwin, and may also +be useful when rsync is supervised by a program such as +bf(daemontools) or AIX's bf(System Resource Controller). +bf(--no-detach) is also recommended when rsync is run under a +debugger. This option has no effect if rsync is run from inetd or +sshd. + dit(bf(--address)) By default rsync will bind to the wildcard address when run as a daemon with the --daemon option or when connecting to a rsync server. The --address option allows you to specify a specific IP