X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/a9af5d8eba754ddbc184df3e473c42b4f83206e2..656c20715eb5261f8158a7f7b999d5099db3a3f9:/rsync.yo diff --git a/rsync.yo b/rsync.yo index ff527bec..7c06d1bd 100644 --- a/rsync.yo +++ b/rsync.yo @@ -746,6 +746,9 @@ quote(--chmod=Dg+s,ug+w,Fo-w,+X) It is also legal to specify multiple bf(--chmod) options. +If permissions are not being preserved (via bf(--perms)), the resulting value +will still be masked by the receiving end's umask setting. + dit(bf(-n, --dry-run)) This tells rsync to not do any file transfers, instead it will just report the actions it would have taken. @@ -854,10 +857,13 @@ See bf(--delete) (which is implied) for more details on file-deletion. dit(bf(--ignore-errors)) Tells bf(--delete) to go ahead and delete files even when there are I/O errors. -dit(bf(--force)) This option tells rsync to delete directories even if -they are not empty when they are to be replaced by non-directories. This -is only relevant without bf(--delete) because deletions are now done depth-first. -Requires the bf(--recursive) option (which is implied by bf(-a)) to have any effect. +dit(bf(--force)) This option tells rsync to delete a non-empty directory +when it is to be replaced by a non-directory. This is only relevant if +deletions are not active (see bf(--delete) for details). + +Note for older rsync versions: bf(--force) used to still be required when +using bf(--delete-after), and it used to be non-functional unless the +bf(--recursive) option was also enabled. dit(bf(--max-delete=NUM)) This tells rsync not to delete more than NUM files or directories (NUM must be non-zero). @@ -1094,8 +1100,16 @@ new version on the disk at the same time. If you are using this option for reasons other than a shortage of disk space, you may wish to combine it with the bf(--delay-updates) option, -which will ensure that all copied files go into a subdirectory of the -destination dir, awaiting the end of the transfer. +which will ensure that all copied files get put into subdirectories in the +destination hierarchy, awaiting the end of the transfer. If you don't +have enough room to duplicate all the arriving files on the destination +partition, another way to tell rsync that you aren't overly concerned +about disk space is to use the bf(--partial-dir) option with a relative +path; because this tells rsync that it is OK to stash off a copy of a +single file in a subdir in the destination hierarchy, rsync will use the +partial-dir as a staging area to bring over the copied file, and then +rename it into place from there. (Specifying a bf(--partial-dir) with +an absolute path does not have this side-effect.) dit(bf(-y, --fuzzy)) This option tells rsync that it should look for a basis file for any destination file that is missing. The current algorithm