X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c48cff9fbeace8db37a7e67ec6ff102c95b0db6d..fa92818af3e9782b82a41d10633809abe72b922c:/rsync.yo diff --git a/rsync.yo b/rsync.yo index 08b7c93c..3cf03dd4 100644 --- a/rsync.yo +++ b/rsync.yo @@ -374,7 +374,7 @@ to the detailed description below for a complete description. verb( --include=PATTERN don't exclude files matching PATTERN --include-from=FILE read include patterns from FILE --files-from=FILE read list of source-file names from FILE - -0, --from0 all *from file lists are delimited by nulls + -0, --from0 all *from/filter files are delimited by 0s --version print version number --address=ADDRESS bind address for outgoing socket to daemon --port=PORT specify double-colon alternate port number @@ -631,9 +631,10 @@ default. dit(bf(-p, --perms)) This option causes rsync to set the destination permissions to be the same as the source permissions. -Without this option, each new file gets its permissions set based on the -source file's permissions and the umask at the receiving end, while all -other files (including updated files) retain their existing permissions +Without this option, all existing files (including updated files) retain +their existing permissions, while each new file gets its permissions set +based on the source file's permissions, but masked by the receiving end's +umask setting (which is the same behavior as other file-copy utilities, such as cp). dit(bf(-o, --owner)) This option causes rsync to set the owner of the @@ -934,7 +935,7 @@ quote(tt( rsync -a --files-from=:/path/file-list src:/ /tmp/copy)) This would copy all the files specified in the /path/file-list file that was located on the remote "src" host. -dit(bf(-0, --from0)) This tells rsync that the filenames it reads from a +dit(bf(-0, --from0)) This tells rsync that the rules/filenames it reads from a file are terminated by a null ('\0') character, not a NL, CR, or CR+LF. This affects bf(--exclude-from), bf(--include-from), bf(--files-from), and any merged files specified in a bf(--filter) rule.