question about rsync

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. ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-18-2007
bahoo
 
Posts: n/a
Default question about rsync

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

Reply With Quote
  #2 (permalink)  
Old 03-18-2007
Matthias Fassl
 
Posts: n/a
Default Re: question about rsync

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
Reply With Quote
  #3 (permalink)  
Old 03-22-2007
Joe Beasley
 
Posts: n/a
Default Re: question about rsync

Yes, rsync -var -e ssh myname@xxx.xxx:~/code ~/code


--
jbeasley@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:13 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0