From 44d60d5f83da9595a93a6acdb3fd770d249381a4 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 3 Feb 2005 03:37:02 +0000 Subject: [PATCH] Document the new "!" modifier for include/exclude filter rules (to negate the match). --- rsync.yo | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rsync.yo b/rsync.yo index e44e2e28..1f6a41cc 100644 --- a/rsync.yo +++ b/rsync.yo @@ -1387,13 +1387,16 @@ itemize( specified to turn off the parsing of prefixes). ) -The following modifier is accepted after a "+" or "-": +The following modifiers are accepted after a "+" or "-": itemize( it() A "/" specifies that the include/exclude should be treated as an absolute path, relative to the root of the filesystem. For example, "-/_/etc/passwd" would exclude the passwd file any time the transfer was sending files from the "/etc" directory. + it() A "!" specifies that the include/exclude should take effect if + the pattern fails to match. For instance, "-! */" would exclude all + non-directories. ) Per-directory rules are inherited in all subdirectories of the directory -- 2.34.1