From owner-freebsd-questions Wed Jun 14 7:26:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id DE91737B5C3 for ; Wed, 14 Jun 2000 07:26:37 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id JAA11120; Wed, 14 Jun 2000 09:26:17 -0500 (CDT) (envelope-from dan) Date: Wed, 14 Jun 2000 09:26:17 -0500 From: Dan Nelson To: Patrik Astrom Cc: Donald Burr , freebsd-questions@FreeBSD.ORG Subject: Re: How to keep two directory trees in sync? Message-ID: <20000614092617.A1597@dan.emsphone.com> References: <009701bfd5ce$5b77a450$0100a8c0@locutus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.3i In-Reply-To: ; from "Patrik Astrom" on Wed Jun 14 10:05:31 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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