[Bug 2647] --exclude options work from commandline but not in script

samba-bugs at samba.org samba-bugs at samba.org
Tue Apr 26 01:50:21 GMT 2005


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





------- Additional Comments From vanes002 at umn.edu  2005-04-25 18:50 -------
A possible explanation is if the single-quotes are being retained in the
--exclude values instead of being removed by whatever shell you are using for
scripting.

So rsync tries to exclude   '/proc/'  instead of  /proc/

In your case, the quotes aren't even needed since you don't have wildcards,
shell metachars, or whitespace in those path values.

Remove the single-quotes and see if that helps.  If it does, then either your
shell has a problem or they weren't really single-quotes to begin with.


-- 
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.


More information about the rsync mailing list