No subject
Sun Sep 6 16:29:27 MDT 2009
The following modifiers are accepted after a â+â or â-â:
o A / specifies that the include/exclude rule should be matched
against the absolute pathname of the current item. For example,
â-/ /etc/passwdâ would exclude the passwd file any time the
transfer 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.
Hence, your dir-merge setup causes only the absolute path /tmp/ to be
excluded. If you want to exclude /data/home/andy/tmp/ then put that in
your .rsync-filter .
The leading slash behaves differently in a dir-merge rule than in a
"normal" include file.
At least, that's how I read the manpage :-)
Paul
More information about the rsync
mailing list