Help for a newbie.

Wayne Davison wayned at samba.org
Thu Jan 27 08:47:43 GMT 2005


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..


More information about the rsync mailing list