rcorujo
2007-Apr-09 20:31 UTC
How do you specify an alternate config file when using rsync with ssh?
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? Thank you. Rigoberto -- View this message in context: http://www.nabble.com/How-do-you-specify-an-alternate-config-file-when-using-rsync-with-ssh--tf3549430.html#a9909033 Sent from the Samba - rsync mailing list archive at Nabble.com.
Matt McCutchen
2007-Apr-09 20:57 UTC
How do you specify an alternate config file when using rsync with ssh?
On 4/9/07, rcorujo <rcorujo@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