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





------- Additional Comments From [EMAIL PROTECTED]  2005-05-16 23:31 -------
This isn't rsync issue but a strange manner how bash escapes the <'>.
### Script 1 (won't work):
EXLUDES="--exclude='/whatever/'"
rsync -avuz "$EXLUDES" /source /destination
### Script 2 (won't either):
RSYNC="rsync -avuz --exclude='/whatever/' /source /destination"
$RSYNC
### Script 3 (works as expected):
VAL="'/whatever/'"
EXLUDES="--exclude=$VAL"
rsync -avuz "$EXLUDES" /source /destination

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