When operating in daemon mode, will rsync check to see which file is newer and decide which direction to transfer based on that? Example, We have 2 terminal servers, A and B. I want users to be able to work on either server and have their home directories on both stay in sync. If a user logs into server A and changes files, the server would know to transfer the file from A to B. If they log into server B, rsync transfers from B to A. Matthew Jaffe Engineer II Scientific Research Corporation 2300 Windy Ridge Parkway; Ste 400S Atlanta, GA 30339 770-859-9161
Rsync is one way. If you want two-way synchronization, use unison. http://www.cis.upenn.edu/~bcpierce/unison/ -John On Fri, Jul 30, 2004 at 08:31:20AM -0400, Matt Jaffe wrote:> When operating in daemon mode, will rsync check to see which file is newer and decide which direction to transfer based on that? > Example, > We have 2 terminal servers, A and B. I want users to be able to work on either server and have their home directories on both stay in sync. If a user logs into server A and changes files, the server would know to transfer the file from A to B. If they log into server B, rsync transfers from B to A. > > Matthew Jaffe > Engineer II > Scientific Research Corporation > 2300 Windy Ridge Parkway; Ste 400S > Atlanta, GA 30339 > 770-859-9161 > > -- > To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
On Fri, 30 Jul 2004, Matt Jaffe mjaffe-at-scires.com |Rsync List| wrote:> When operating in daemon mode, will rsync check to see which file is > newer and decide which direction to transfer based on that? Example, We > have 2 terminal servers, A and B. I want users to be able to work on > either server and have their home directories on both stay in sync. If > a user logs into server A and changes files, the server would know to > transfer the file from A to B. If they log into server B, rsync > transfers from B to A.rsync is designed to be a unidirectional transfer program, like rcp/scp, only with the addition of its clever bandwidth reduction algorithm. For a two-way sync, try Unison: http://www.cis.upenn.edu/~bcpierce/unison/ -- Steve