This is a discussion on question about rsync within the Linux Networking forums, part of the Linux Forums category; Hi, rsync -var -e ssh ~/code myname@xxx.xxx :~/code However, this only synchronizes files from computer A to B. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
rsync -var -e ssh ~/code myname@xxx.xxx :~/code However, this only synchronizes files from computer A to B. If I also want to synchronize B to A, can I do it in the same command? Thanks! bahoo |
|
|||
|
bahoo wrote:
> However, this only synchronizes files from computer A to B. > If I also want to synchronize B to A, can I do it in the same command? I would suggest unison, it synchronizes data bidirectional and not unidirectional like rsync. http://www.cis.upenn.edu/~bcpierce/unison/ Cheers, Matthias |
|
|||
|
Yes, rsync -var -e ssh myname@xxx.xxx:~/code ~/code
-- jbeasley@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org |