- Document the new "/" modifier for -/+.
authorWayne Davison <wayned@samba.org>
Sat, 29 Jan 2005 20:48:27 +0000 (20:48 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 29 Jan 2005 20:48:27 +0000 (20:48 +0000)
- "=" is no longer a valid separator for a filter rule.

rsync.yo

index e681af791d376e8d91faf725fcc1ff0e5da889ae..fc33aca09697bd0e1f41541d4c41bf42f282c2f5 100644 (file)
--- 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