Yes, I did read the man pages and I asked for help because when I tried rsync -avz host1:/home/www/ /home/www --password-file=/root/rsync_pwd
It will ask me for the password on host1 I also tried this: export RSYNC_PASSWORD=XXXXXXX; rsync -avz host1:/home/www/ /home/www It will also asked for the host1 password. Thanks, Nestor :-) On Fri, May 30, 2008 at 1:08 PM, Urivan Saaib <[EMAIL PROTECTED]> wrote: > 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 > -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
