On Wed, Aug 20, 2008 at 10:32:23AM -0400, Carney Mimms wrote:
> COMMAND="sudo /usr/local/bin/rsync $OPTS $EXCLUDES $DIRS $BACKUPDIR"


That's a sudo issue, since sudo runs the command and splits the args on
spaces. You need to either add extra backslashes (\\\ for every \), add
extra quoting (e.g. "'$DIRS'", which would only work for a single name),
or put the source args into a file and use --files-from (with an
explicit -r if you're expecting recursion).

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