Filesystem wars! (was Re: woody CDs :()

Blake Barnett plug-discuss@lists.plug.phoenix.az.us
27 Mar 2002 14:25:07 -0700


On Wed, 2002-03-27 at 14:16, Kevin Buettner wrote:
> I ended up not using either of these solutions.  All I really care
> about is pushing the contents of my development directory over to
> the (unstable) machine as it changes over time.  I ended up writing
> a little script that interfaces with fam (the File Alteration Monitor)
> that ships with recent Red Hat releases.  The script uses the services
> provided by fam to notice when a file has changed and then invokes
> rsync over ssh to update it on the remote machine.  It's smart about
> recognizing when a number of files change within a short span of time
> (e.g. during a cvs update) and syncs these files in a batch rather than
> individually.

You should checkout Unison, it was made to do exactly this.  rysnc in
daemon mode would also work.

-- 
Blake Barnett (bdb)  <blake.barnett@developonline.com>
Sr. Unix Administrator
DevelopOnline.com                 office: 480-377-6816

Learning is a skill, you get better at it with practice.