>rsync -avuzb --rsh=/usr/local/bin/ssh --exclude �*~�
>[EMAIL PROTECTED]:/home/rob/toppage .
>rsync -Cavuzb --rsh=/usr/local/bin/ssh .
>[EMAIL PROTECTED]:/home/rob/toppage
>
>All it seems to do is copy all the files across and then back again. I
>would imagine the answer is simple, but I can't figure it out.
Don't use . in a shell script unless you have a cd before it. Otherwise you
don't know what . is.
The first directory should not end in a slash; the second should. At least
that's how I have it, and it works.
rsync -avuze ssh /home/phma/dir remote:/home/phma/
rsync -avuze ssh remote:/home/phma/dir /home/phma/
>On another matter, how do I get ssh to log in automatically without
>prompting for a password.
Put your public key (.ssh/identity.pub or id_dsa.pub) in the remote host's
.ssh/authorized_keys[2] .
phma