Tomasz Chmielewski wrote:
I want to transfer files from a Windows server running rsyncd to a local Linux machine. It has no SSH, so I can't use keys.

(...)

What is the recommended way to copy files from a (password-protected) rsyncd server in a script?

Looks like I should use:

export RSYNC_PASSWORD=secret_pass

before starting rsyncd. And to forget about "expect" command :)

--
Tomasz Chmielewski
http://wpkg.org
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to