summaryrefslogtreecommitdiff
path: root/rsync.yo
diff options
context:
space:
mode:
authorDavid Dykstra <dwd@samba.org>2002-05-09 21:44:46 +0000
committerDavid Dykstra <dwd@samba.org>2002-05-09 21:44:46 +0000
commit759ac87019791378c4a97b541e7cdf1349dd4c69 (patch)
treea9d920f06a8527ea525f5e7a67c12cf1d2601de9 /rsync.yo
parenta1e0e45e0121de619175e86db2e34be62b862646 (diff)
downloadrsync-759ac87019791378c4a97b541e7cdf1349dd4c69.tar.gz
Submit enhancement from Michael Zimmerman to allow --suffix to be used
with --backup-dir.
Diffstat (limited to 'rsync.yo')
-rw-r--r--rsync.yo9
1 files changed, 7 insertions, 2 deletions
diff --git a/rsync.yo b/rsync.yo
index b8880f2e..5b9c677b 100644
--- a/rsync.yo
+++ b/rsync.yo
@@ -226,7 +226,7 @@ verb(
-R, --relative use relative path names
-b, --backup make backups (default ~ suffix)
--backup-dir make backups into this directory
- --suffix=SUFFIX override backup suffix
+ --suffix=SUFFIX define backup suffix
-u, --update update only (don't overwrite newer files)
-l, --links copy symlinks as symlinks
-L, --copy-links copy the referent of symlinks
@@ -374,10 +374,15 @@ 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.
+very useful for incremental backups. You can additionally
+specify a backup suffix using the --suffix option
+(otherwise the files backed up in the specified directory
+will keep their original filenames).
dit(bf(--suffix=SUFFIX)) This option allows you to override the default
backup suffix used with the -b option. The default is a ~.
+If --backup-dir and --suffix are both specified,
+the SUFFIX is appended to the filename even in the backup directory.
dit(bf(-u, --update)) This forces rsync to skip any files for which the
destination file already exists and has a date later than the source