mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-05-07 14:35:15 -04:00
Document the new "!" modifier for include/exclude filter rules (to
negate the match).
This commit is contained in:
5
rsync.yo
5
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
|
||||
|
||||
Reference in New Issue
Block a user