On Wed, 2005-12-28 at 14:52 -0500, Kfir Cohen wrote: > thank you for your quick response. > How can i ad this to your bugzilla project? > --KC > > rsync -aHvS --exclude /root//Desktop/ /root /tmp/kuku > > the Desktop Dir will not be excluded.
Rsync is behaving correctly by not excluding /root/Desktop since this folder does not match the double slashes in the exclude pattern. This is not a bug. If, in writing a script, you need double-slash exclude paths to match (single-slash) files, run the exclude paths through sed -re 's./+./.g' or similar before passing them to rsync. -- Matt McCutchen, ``hashproduct'' [EMAIL PROTECTED] -- http://hashproduct.metaesthetics.net/ -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
