Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4935684
)
Clarify how the fitler rule "-/" works.
author
Wayne Davison
<wayned@samba.org>
Fri, 7 Oct 2005 18:18:16 +0000
(18:18 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 7 Oct 2005 18:18:16 +0000
(18:18 +0000)
rsync.yo
patch
|
blob
|
blame
|
history
diff --git
a/rsync.yo
b/rsync.yo
index
9298292
..
ef221f1
100644
(file)
--- a/
rsync.yo
+++ b/
rsync.yo
@@
-1648,10
+1648,12
@@
itemize(
The following modifiers are accepted after a "+" or "-":
itemize(
The following modifiers are accepted after a "+" or "-":
itemize(
- it() A "/" specifies that the include/exclude
should be treated as an
- a
bsolute path, relative to the root of the filesys
tem. For example,
+ it() A "/" specifies that the include/exclude
rule should be matched
+ a
gainst the absolute pathname of the current i
tem. For example,
"-/ /etc/passwd" would exclude the passwd file any time the transfer
"-/ /etc/passwd" would exclude the passwd file any time the transfer
- was sending files from the "/etc" directory.
+ was sending files from the "/etc" directory, and "-/ subdir/foo"
+ would always exclude "foo" when it is in a dir named "subdir", even
+ if "foo" is at the root of the current transfer.
it() A "!" specifies that the include/exclude should take effect if
the pattern fails to match. For instance, "-! */" would exclude all
non-directories.
it() A "!" specifies that the include/exclude should take effect if
the pattern fails to match. For instance, "-! */" would exclude all
non-directories.