File merging

Martin Pool mbp at samba.org
Fri Sep 14 13:30:51 EST 2001


On 13 Sep 2001, Andy Goth <unununium at openverse.org> wrote:
> I'll avoid simultaneous changes, then, by remembering (or automating) updates 
> before switching computers.  I could probably do this pretty easily as some 
> sort of an eth0-up script.
> 
> > On the other hand, if only one system changes at a time rsync works fine.
> 
> Okay, then, can rsync identify the newer version and copy it to the other 
> system?

Yes, look at the -u option: it only replaces if newer.
--
Martin





More information about the rsync mailing list