X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/d9fcc198cfad667e659f0994febc2a9f0d33753c..5d1e1dcf4b9d4d9e0308d3e7f7036b4e5191e323:/rsync.yo diff --git a/rsync.yo b/rsync.yo index 7364718a..9007cd0d 100644 --- a/rsync.yo +++ b/rsync.yo @@ -272,6 +272,7 @@ Options --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 --config=FILE specify alternate rsyncd.conf file --port=PORT specify alternate rsyncd port number --stats give some file transfer stats @@ -312,7 +313,7 @@ dit(bf(-I, --ignore-times)) Normally rsync will skip any files that are already the same length and have the same time-stamp. This option turns off this behavior. -dit(bf(-I, --size-only)) Normally rsync will skip any files that are +dit(bf(--size-only)) Normally rsync will skip any files that are already the same length and have the same time-stamp. With the --size-only option files will be skipped if they have the same size, regardless of timestamp. This is useful when starting to use rsync @@ -452,6 +453,11 @@ dit(bf(--delete-excluded)) In addition to deleting the files on the receiving side that are not on the sending side, this tells rsync to also delete any files on the receiving side that are excluded (see --exclude). +dit(bf(--delete-after)) By default rsync does file deletions before +transferring files to try to ensure that there is sufficient space on +the receiving filesystem. If you want to delete after transferring +then use the --delete-after switch. + dit(bf(--force)) This options tells rsync to delete directories even if they are not empty. This applies to both the --delete option and to cases where rsync tries to copy a normal file but the destination @@ -589,6 +595,12 @@ 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(--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 +address (or hostname) to bind to. This makes virtual hosting possible +in conjunction with the --config option. + dit(bf(--config=FILE)) This specifies an alternate config file than the default /etc/rsyncd.conf. This is only relevant when --daemon is specified. @@ -643,6 +655,10 @@ skipped. If it is an include pattern then that filename is not skipped. If no matching include/exclude pattern is found then the filename is not skipped. +Note that the --include and --exclude options take one pattern +each. To add multiple patterns use the --include-from and +--exclude-from options or multiple --include and --exclude options. + The patterns can take several forms. The rules are: itemize(