Trivial exclude help
tom at netspot.com.au
Tue Jul 7 21:35:19 MDT 2009
Sorry for the exclude question... but I have been trying for hours to
get this to work and am utterly baffled.
I'm performing an archive transfer between hosts and wish to include
anything in any directory named 'debug' or 'drpms' at any depth. I
assumed this would be as simple as --exclude 'debug/***' --exclude
'drpms/***' but I still get files retrieved.
Full option list is:
rsync -aHi --no-o --delay-updates --delete --delete-excluded --delete-
after --exclude 'drpms/***' --exclude 'debug/***' host1::foo/bar/ /
... and files like these are still retrieved:
I've tried many many alternative exclude patterns, tried increasing
the debugging level to try and work out how they're still matched and
I haven't had any success. Any help very much appreciated.
Please include me on any replies as I'm not subscribed to this list.
More information about the rsync