Originally Posted By: hybrid8
It does run Linux, but I also don't know how its UI passes in its parameters to rsync to be able to make such a script.


But that's very easy to find out, with an approach similar to what Bitt suggested.

Just rename the existing rsync binary to something like rsync.bin, and create a shell script called rsync in it's place, like this:

Code:
#!/bin/sh
EXTRA='xxxxx'   ## add whatever you need here
logger -- "$0 $*"   ## echo original command/args to syslog
exec /usr/bin/rsync.bin $EXTRA "$@"

And don't forget to do: chmod 0755 rsync

That will run rsync with the original args, plus any new ones you add in EXTRA.
Easy enough to try, and fully reversible.

EDIT: perhaps Bitt can help further, with the exact syntax for the rsync ssh options you might need. I'm not an rsync user myself, so I don't really know about those.

EDIT: Something like this, perhaps:
EXTRA='-e ssh'


Cheers


Edited by mlord (11/12/2009 12:37)