From fb60ded5819afecf2f457bbd5d49096eb2fc5a6b Mon Sep 17 00:00:00 2001 From: Bill McGonigle Date: Fri, 20 Feb 2015 15:23:59 -0500 Subject: [PATCH] Describe the interaction between --one-file-system and --delete-excluded. --- rsync.yo | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rsync.yo b/rsync.yo index 20300eb..2843496 100644 --- a/rsync.yo +++ b/rsync.yo @@ -1415,6 +1415,9 @@ See bf(--delete) (which is implied) for more details on file-deletion. dit(bf(--delete-excluded)) In addition to deleting the files on the receiving side that are not on the sending side, this tells rsync to also delete any files on the receiving side that are excluded (see bf(--exclude)). +Note that bf(--one-file-system) does not cause bf(--delete-excluded) +to ignore excluded patterns that may be present on a different filesystem on the +sending side - the excluded pattern will still be deleted on the receiving side. See the FILTER RULES section for a way to make individual exclusions behave this way on the receiver, and for a way to protect files from bf(--delete-excluded). -- 1.9.3