mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-03-22 16:21:10 -04:00
- Document the new "/" modifier for -/+.
- "=" is no longer a valid separator for a filter rule.
This commit is contained in:
16
rsync.yo
16
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
|
||||
|
||||
Reference in New Issue
Block a user