From f362b23ea1811a87991cb842a21d53f39fd93cf4 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Wed, 13 Jun 2007 03:34:34 +0000 Subject: [PATCH] Improved manpage from Matt. --- source-backup.diff | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/source-backup.diff b/source-backup.diff index 32850da..9071ac9 100644 --- a/source-backup.diff +++ b/source-backup.diff @@ -55,18 +55,17 @@ To use this patch, run these commands for a successful build: --del an alias for --delete-during --delete delete extraneous files from dest dirs --delete-before receiver deletes before transfer (default) -@@ -1004,6 +1005,15 @@ dit(bf(--remove-source-files)) This tell +@@ -1004,6 +1005,14 @@ dit(bf(--remove-source-files)) This tell side the files (meaning non-directories) that are a part of the transfer and have been successfully duplicated on the receiving side. +dit(bf(--source-backup)) Makes the sender back up the source files it removes +due to bf(--remove-source-files). This option is independent of +bf(--backup) but uses the same bf(--backup-dir) and bf(--suffix) settings, -+if any. With bf(--backup-dir), each backup file is placed inside the backup -+dir according to the source file's full path from the working directory -+(backup-dir + source argument path + file-list path); if you want files placed according -+to the file-list path, you could either make appropriate symlinks or have the -+sender "cd" into the source directory so that the source argument is just ".". ++if any. With bf(--backup-dir), rsync looks for each file's backup dir relative ++to the source argument the file came from. Consequently, if the ++bf(--backup-dir) path is relative, each source argument gets a separate backup ++dir at that path relative to the argument. + dit(bf(--delete)) This tells rsync to delete extraneous files from the receiving side (ones that aren't on the sending side), but only for the -- 2.34.1