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