Slightly off topic...

I was wondering if anyone has used something like 'watch' or 'stat' (or
somthing else?) to detect the modification (change) of a file or directory,
and then trigger an rsync?

Of course, I could settle with a crond rsync every minute or so, I guess!
I do this at the moment, was just thinking about an alternative...




On Fri, Apr 13, 2001 at 05:23:22PM +0200, Karsten W. Rohrbach wrote:
> Peter van Dijk([EMAIL PROTECTED])@2001.04.13 10:23:26 +0000:
> > I have a central box that generates all configfiles and puts them in a
> > directory called /conf/mail on a NetApp fileserver, from which all
> > qmail boxes copy their configuration periodically.
> > 
> > Make sure you copy stuff to tmpfiles and then move 'm (also when
> > generating files to go into /conf/mail). Especially over
> > NFS, doing it any different is guaranteed trouble.
> in several projects i used rsync[1] over ssh (openssh[2]) for distributing
> configuration between machines (push updates).
> 
> rsync does a great job, supporting incremental/differential updates and
> moving the files in place after they have been transmitted and verified.
> 
> happy easter
> /k
> 
> links:
> [1] http://rsync.samba.org/
> [2] http://www.openssh.com/
> 
> -- 
> > Microsoft isn't the answer. Microsoft is the question, and the answer is no.
> KR433/KR11-RIPE -- http://www.webmonster.de -- ftp://ftp.webmonster.de

Reply via email to