X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b315601ce07701c4913c48a269775ab3284b25ba..66203a982b3d249bafda9b9272c4c103c19e4a9b:/rsync.yo diff --git a/rsync.yo b/rsync.yo index 3fd7122e..90406aec 100644 --- a/rsync.yo +++ b/rsync.yo @@ -223,6 +223,7 @@ verb( -r, --recursive recurse into directories -R, --relative use relative path names -b, --backup make backups (default ~ suffix) + --backup-dir=DIR put backups in the specified directory --suffix=SUFFIX override backup suffix -u, --update update only (don't overwrite newer files) -l, --links preserve soft links @@ -348,6 +349,10 @@ dit(bf(-b, --backup)) With this option preexisting destination files are renamed with a ~ extension as each file is transferred. You can control the backup suffix using the --suffix option. +dit(bf(--backup-dir=DIR)) In combination with the --backup option, this +tells rsync to store all backups in the specified directory. This is +very useful for incremental backups. + dit(bf(--suffix=SUFFIX)) This option allows you to override the default backup suffix used with the -b option. The default is a ~.