From 505ada146c9fbace57a92f1cd5567b38e78221d3 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 29 Sep 2005 08:15:34 +0000 Subject: [PATCH] Mention that --delete now works with --dirs. --- rsync.yo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rsync.yo b/rsync.yo index 5094c8a2..92982926 100644 --- a/rsync.yo +++ b/rsync.yo @@ -733,7 +733,9 @@ also excluded from being deleted unless you use the bf(--delete-excluded) option or mark the rules as only matching on the sending side (see the include/exclude modifiers in the FILTER RULES section). -This option has no effect unless directory recursion is enabled. +Prior to rsync 2.6.7, this option would have no effect unless bf(--recursive) +was in effect. Beginning with 2.6.7, deletions will also occur when bf(--dirs) +is specified, but only for directories whose contents are being copied. This option can be dangerous if used incorrectly! It is a very good idea to run first using the bf(--dry-run) option (bf(-n)) to see what files would be -- 2.34.1