No. Rsync is unidirectional.
If you try to do it both ways, first, it's going to delete anything on
hostb that isn't on hosta, then make all the files on hostb just like
hosta. Then, if you try to go back the other way, all the changes on
hostb are already gone.
There is a product called "unison", which is made to do what
you're asking
about. I don't know more about it than that it exists. A quick google
should get you to it.
Good luck.
Tim Conway
tim.conway@philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn,
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
".\n" '
"There are some who call me.... Tim?"
Raj <rgoud@yahoo.com>
01/24/2002 09:21 AM
To: Tim Conway/LMT/SC/PHILIPS@AMEC
cc: rsync@lists.samba.org
rsync-admin@lists.samba.org
Subject: Rsync
Classification:
Tim,
Currently I have rsync setup on hosta which syncs to
hostb. Rsync deletes whatever deleted from hosta and
copy and sync from hosta to hostb. Does rsync catch
changes made and sync hosta in case any changes are
made to hostb?
Please let me know.
Thanks
Raj
====
__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com