From dc1488ae47a33444372fa3adce0bb72c2b143f7e Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 29 Jan 2005 20:48:27 +0000 Subject: [PATCH] - Document the new "/" modifier for -/+. - "=" is no longer a valid separator for a filter rule. --- rsync.yo | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/rsync.yo b/rsync.yo index e681af79..fc33aca0 100644 --- a/rsync.yo +++ b/rsync.yo @@ -1238,9 +1238,8 @@ itemize( ) The 'x' is a single-letter that specifies the kind of rule to create. It -can have trailing modifiers, and is separated from the RULE by one of the -following characters: a single space, an equal-sign (=), or an underscore -(_). Here are the available rule prefixes: +can have trailing modifiers, and is separated from the RULE by either a +single space or an underscore (_). Here are the available rule prefixes: verb( - specifies an exclude pattern. @@ -1390,7 +1389,7 @@ verb( :n- .non-inherited-per-dir-excludes ) -The following modifiers are accepted after the "." or ":": +The following modifiers are accepted after a "." or ":": itemize( it() A "-" specifies that the file should consist of only exclude @@ -1417,6 +1416,15 @@ itemize( specified to turn off the parsing of prefixes). ) +The following modifier is 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. +) + Per-directory rules are inherited in all subdirectories of the directory where the merge-file was found unless the 'n' modifier was used. Each subdirectory's rules are prefixed to the inherited per-directory rules -- 2.34.1