Problem with exclusion pattern
ptitoliv at frenchsuballiance.cjb.net
Sat Aug 6 19:27:03 GMT 2005
I have a little problem using patterns with exclude instruction. I want
to rsync all my /home excluding all subdirectories "logs" ans "stats".
So I used the instruction --exclude */logs/* --exclude */stats/* to
ignore all these directories. While the execution in verbose mode, I see
that stats directories are ignored but logs directories are not. I don't
understand this behaviour. Can somebody explain me why logs directories
are not ignored ?
Thank you for your answers
More information about the rsync