Nestor,

man rsync


set RSYNC_PASSWORD='yourpassword'

or

rsync -avz  host1:/home/www/ /home/www --password-file=password_file

Regards,

==============Original message text===============
On Fri, 30 May 2008 12:42:48 PDT "Néstor" wrote:

When running the rsync command to copy files from one host to another how do
I pass teh password?

This is my command:
rsync -avz  host1:/home/www/ /home/www

It always as for the password and I want to set it up to run as a cron job.

Thnaks,

Néstor

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
===========End of original message text===========



Urivan A. Flores Saaib
CiberLinux Networking
Email: [EMAIL PROTECTED]



-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to