From 89cb47212ef1a994819814332b937cbbd131a75c Mon Sep 17 00:00:00 2001 From: Matt McCutchen Date: Sun, 2 Nov 2008 20:46:08 -0500 Subject: [PATCH] The protect filter automatically added with --backup is not perishable (see f41152d39396f0672a97268739c333537579404a), so remove the inaccurate "p" from the man page. Noticed by Jacob Balazer: http://lists.samba.org/archive/rsync/2008-November/022022.html --- rsync.yo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsync.yo b/rsync.yo index 1daff0c7..bcf082f5 100644 --- a/rsync.yo +++ b/rsync.yo @@ -714,7 +714,7 @@ Note that if you don't specify bf(--backup-dir), (1) the bf(--omit-dir-times) option will be implied, and (2) if bf(--delete) is also in effect (without bf(--delete-excluded)), rsync will add a "protect" filter-rule for the backup suffix to the end of all your existing excludes -(e.g. bf(-f "Pp *~")). This will prevent previously backed-up files from being +(e.g. bf(-f "P *~")). This will prevent previously backed-up files from being deleted. Note that if you are supplying your own filter rules, you may need to manually insert your own exclude/protect rule somewhere higher up in the list so that it has a high enough priority to be effective (e.g., if -- 2.34.1