How do you specify an alternate config file when using rsync
with ssh?
Matt McCutchen
hashproduct+rsync at gmail.com
Mon Apr 9 20:50:22 GMT 2007
On 4/9/07, rcorujo <rcorujo at yahoo.com> wrote:
> It seems that the "--config" option is only used when rsync is run as a
> daemon. However, it you want to run something like "rsync -e ssh
> --config=<config_FILE> ..." the "--config" option is ignored. When I run
> rsync with ssh, I want to specify a different config file that contains
> different modules than the config file used by the rsync daemon. How do I
> accomplish this?
Specify an --rsync-path that includes the --config option to be given
to the remote process:
rsync --rsync-path='rsync --config=<config-file>' -e ssh
<host::module/path, etc.>
Matt
More information about the rsync
mailing list