Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2000 09:26:17 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Patrik Astrom <patrik@astrom.net>
Cc:        Donald Burr <dburr@borg-cube.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: How to keep two directory trees in sync?
Message-ID:  <20000614092617.A1597@dan.emsphone.com>
In-Reply-To: <Pine.BSF.4.10.10006140959510.43843-100000@styx.astrom.net>; from "Patrik Astrom" on Wed Jun 14 10:05:31 GMT 2000
References:  <009701bfd5ce$5b77a450$0100a8c0@locutus> <Pine.BSF.4.10.10006140959510.43843-100000@styx.astrom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 14), Patrik Astrom said:
> On Jun 14, 2000 at 00:01, Donald Burr wrote:
> > I have a desktop and a laptop, and I need a way to keep a directory
> > tree synchronized between the two machines.  (yes, they are
> > networked.) (e.g. If I make a change on the desktop machine, it
> > should get propagated to the laptop, and vice versa).
>
> I think rsync is the tool for you.
> 
> Check it out at: http://rsync.samba.org

rsync is great for one-way synchronization, but doesn't do correct
two-way synching.  For that, you need at least one machine to hold a
"snapshot" listing of the other machine's files the last time they were
synched.  That way you know whether to copy or delete files that exist
on only one machine.

I haven't seen any programs that do true n-way synchronization.

-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000614092617.A1597>