Include / exclude patterns
Max Bowsher
maxb at ukf.net
Thu Nov 28 18:41:01 EST 2002
Carlos Molina <cmolina at net-uno.net> wrote:
> + /etc
> + /home/cmolina
> + /var/log
> - - /*
Huh? "- -" ? Mistake again?
> rsync isn't include directories under /home and /var, because it
> exclude recursively on /*
Well sure, but it would have included dirs under /home/cmolina and
/var/log.
The / in /* anchors to the toplevel.
Works for me, and looks like it was working for you from the output you
sent.
Max.
More information about the rsync
mailing list