On Thu, Aug 2, 2012 at 2:21 PM, Martijn Rijkeboer <mart...@bunix.org> wrote: > RSYNC_CMD="/usr/local/bin/rsync -v -n \ > --rsync-path='rsync sudo' \
This doesn't do what you think it does. The single quotes are getting literally passed to rsync, they're not reinterpreted after $RSYNC_CMD is interpolated. This is similar to running something like: rsync --rsync-path=\'rsync sudo\' backup@fqdn...