[wplug] rsync
squeegy-wplug at squeegy.org
squeegy-wplug at squeegy.org
Fri May 21 10:49:31 EDT 2004
Thanks everyone! I started the rsync. I think the verbose was throwing me. It was showing every file inspected.
> Sometime in May Jt Chiodi assaulted the keyboard and produced:
>
> | experienced rsync gurus,
> |
> | I want to sync two directories on two different machines. I only want the new
> | and changed stuff to be transmitted from machine 1 to machine 2. I looked at
> | the rsync docs and ran a test command, but I must have done something wrong.
> | it look like it was going to copy everything.
> |
> | Can someone send the proper switches to rsync to accomplish this?
>
> rsync wont transfer all of the files unless you mess up the source and
> destination commands ;).
>
> i usually do something like:
>
> rsync -av -e "ssh -2" user at machine2:/path/to/files/ user at machine2:/path/to/files
>
>
> you need to be careful of the trailing '/''s note there is one on the
> source and not the destination. i believe this alternative will do the same
> thing:
>
> rsync -av -e "ssh -2" user at machine2:/path/to/files/ user at machine2:/path/to/
>
> i also like to do everything over ssh.
>
>
More information about the wplug
mailing list