--exclude with whitespace

Matt McCutchen matt at mattmccutchen.net
Mon Jun 16 15:18:03 GMT 2008

On Mon, 2008-06-16 at 10:09 +0200, Philippe Niquille wrote:
> I am using the default rsync 2.6.3 on OS X 10.5.3 and having issues  
> with my exclude options. I want to exclude a directory which has  
> whitespace in its name e.g. "My Directory" by adding --exclude="My  
> Directory" as a relative path. Now this exclude filter only works when  
> the name does not contain a whitespace.

Please try a modern version of rsync.  The standard rsync 3.0.0 and
newer can preserve much of the same metadata that the Apple-modified
rsync 2.6.3 does.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20080616/4b8be508/attachment.bin

More information about the rsync mailing list