On Tue, Jan 25, 2005 at 11:22:57PM +0100, Andrea Riciputi wrote:
> rsync -a --include "~/Library/bar/" --exclude "Library/" source target
Read the section of the man page on how excludes are anchored to the
base of the transfer. There are extensive examples in the modern
version (which you can fi
Thanks Rick,
actually
rsync -a --include "~/Library/bar/" --exclude "*/Library/*" source
target
doesn't work as expected, but the following:
rsync -a --include "Library/bar/" --exclude "*/Library/*" source target
does work! Could anyone explain what's going on here, even if I've read
rsync man p
On Jan 25, 2005, at 14:22, Andrea Riciputi wrote:
but it doesn't work. Any suggestion?
Try putting a * in your exclude expression: "*/Library/*"
--
Rick
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-ques