https://bugzilla.samba.org/show_bug.cgi?id=5758





------- Comment #2 from [EMAIL PROTECTED]  2008-09-20 11:41 CST -------
Hi, seems like you're right.  Sorry for bothering you :-)

On the other hand, the manpage says:
"a ’*’ matches any non-empty path component (it stops at slashes)."
Although '*' seems to match non-empty and empty(!) filename components.
Eg: 'foo*' matches the file foo and foobar.

~$ mkdir test-src test-dest; touch test-src/foo test-src/foobar
~$ rsync -av --exclude 'foo*' test-src/ test-dest
building file list ... done

sent 74 bytes  received 20 bytes  188.00 bytes/sec
total size is 0  speedup is 0.00

I've tested this on rsync 2.6.9 and 3.0.3.
Isn't this a mistake in the manpage then?


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
-- 
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

Reply via email to