How do you specify an alternate config file when using rsync with ssh?

rcorujo rcorujo at
Tue Apr 10 13:00:43 GMT 2007

Yes, that worked.  Thank you very much, Matt.


Matt McCutchen-3 wrote:
> On 4/9/07, rcorujo <rcorujo at> 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
> -- 
> To unsubscribe or change options:
> Before posting, read:

View this message in context:
Sent from the Samba - rsync mailing list archive at

More information about the rsync mailing list