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 find on the web site's documentation page, if
you don't have it locally).  Also, that '~' is not going to be expanded
(and if it were, it wouldn't match anything unless your "source" was
"/").

..wayne..
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to