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

rcorujo rcorujo at yahoo.com
Tue Apr 10 13:00:43 GMT 2007


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

Rigoberto


Matt McCutchen-3 wrote:
> 
> 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
> -- 
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
> 
> 

-- 
View this message in context: http://www.nabble.com/How-do-you-specify-an-alternate-config-file-when-using-rsync-with-ssh--tf3549430.html#a9919158
Sent from the Samba - rsync mailing list archive at Nabble.com.



More information about the rsync mailing list