--exclude with whitespace

View: New views
2 Messages — Rating Filter:   Alert me  

--exclude with whitespace

by Philippe Niquille :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

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. Is this problem rsync specific?

Thanks, Philippe

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

smime.p7s (3K) Download Attachment

Re: --exclude with whitespace

by Matt McCutchen-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.

Matt


--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

signature.asc (204 bytes) Download Attachment