From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 11:51:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07AAD16A4CE for ; Sun, 14 Mar 2004 11:51:59 -0800 (PST) Received: from craig.afraid.org (CPE0050bf78b8c6-CM000a739ac1da.cpe.net.cable.rogers.com [67.60.253.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id B916243D41 for ; Sun, 14 Mar 2004 11:51:58 -0800 (PST) (envelope-from craig@craig.afraid.org) Received: from craig.internal.lan ([10.0.0.2] helo=redline) by craig.afraid.org with smtp (Exim 4.30; FreeBSD) id 1B2beQ-0008h3-Rn; Sun, 14 Mar 2004 14:51:58 -0500 Message-ID: <000b01c409fd$e8be2d90$0200000a@redline> From: "Craig Reyenga" To: "Steven N. Fettig" References: <4054B6A3.7080704@stevenfettig.com> Date: Sun, 14 Mar 2004 14:52:40 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 cc: questions@freebsd.org Subject: Re: Two-way Sync of Directories - how? (rsync?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 19:51:59 -0000 Is NFS an option? It does mean that the client will have slower file access, but it would appear to do exactly what you are after... Hope this at least partially helps. -Craig ----- Original Message ----- From: "Steven N. Fettig" To: Sent: Sunday, March 14, 2004 2:46 PM Subject: Two-way Sync of Directories - how? (rsync?) > I have two workstations I use (one at home and one at work) connected > via a private DSL link that each have the directories /home/me. I want > to run a cron job to sync the directories (bi-directionally). Rsync > seems to work only in one direction (I know I could set up the script on > both machines), but I wanted to see if I could run the script on one > machine and simply copy new files over to the lacking machine or update > files via checksums (where a file has been updated on one machine and I > want that updated file to be copied over the old file on the other > machine). I am not worried about the case where I might update a given > file on both machines at the same time - it doesn't happen. > Any advice and scripts that you use to accomplish this? > > Thanks, > Steve Fettig > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >