Joe wrote (Monday, November 05, 2012 4:23 AM):

> To avoid having a number of slightly different rsync commands, I would
> like to use shell variables as part of the rsync command.  I.e.:
> DRYRUN="-n"
> rsync "${DRYRUN}" more parameters ...

Just omit the quotes (and in this case you can
also omit the curly braces):

 $ rsync $DRYRUN more parameters ...

Have a nice day,
Berny
-- 
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