double / on --exclude flag cuse the path not to be excluded

Kfir Cohen kfirc at qlusters.com
Wed Dec 28 19:52:17 GMT 2005


thank you for your quick response.
How can i ad this to your bugzilla project?
--KC

________________________________

מאת: Wayne Davison [mailto:wayned at samba.org]
נשלח: ד 28/12/2005 12:46
אל: Kfir Cohen
עותק לידיעה: rsync at lists.samba.org
נושא: Re: double / on --exclude flag cuse the path not to be excluded



On Wed, Dec 28, 2005 at 03:09:14PM +0200, Kfir Cohen wrote:
> rsync -aHvS --exclude /root//Desktop/ /root /tmp/kuku
>
> the Desktop Dir will not be excluded.

That's correct -- rsync will never construct a pathname that contains a
double slash, so the path will never match a pattern that contains a
double slash.

..wayne..




More information about the rsync mailing list