X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5c9730a46c44e5913a4d4767bd99ec23f2f81073..07b7c86c0672c38648fb715efbc0bfffd81ed182:/rsync.yo diff --git a/rsync.yo b/rsync.yo index 0b46cde8..f0ac90d8 100644 --- a/rsync.yo +++ b/rsync.yo @@ -453,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 @@ -650,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(