On Thu, Feb 10, 2005 at 10:40:45AM +1100, Jobst Schmalenbach wrote:
> COMMAND="$RSYNC -rlptgoD --delete --delete-excluded --exclude .snapshot 
> --exclude \"Temporary Internet Files\" /$d/ $TARGET"
> if [ $DEBUG == 1 ]; then $ECHO $COMMAND; fi
> $COMMAND

Try using eval around this, e.g.

eval $COMMAND

You need bash to re-evaluate those quotes so it understands it should
be one argument.

-i
[EMAIL PROTECTED]
http://www.gelato.unsw.edu.au

Attachment: signature.asc
Description: Digital signature

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to