From owner-freebsd-questions Tue Mar 25 8:44:51 2003 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 7D3F537B401 for ; Tue, 25 Mar 2003 08:44:46 -0800 (PST) Received: from void.xpert.com (dns.xpert.com [199.203.132.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD2D543F85 for ; Tue, 25 Mar 2003 08:44:38 -0800 (PST) (envelope-from Yonatan@xpert.com) Received: from exchange.xpert.com ([199.203.132.135]) by void.xpert.com with esmtp (Exim 3.22 #1) id 18xsz3-0003Wb-00 for freebsd-questions@FreeBSD.ORG; Tue, 25 Mar 2003 20:17:13 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [OT] file synchronization between two machines Date: Tue, 25 Mar 2003 18:40:44 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [OT] file synchronization between two machines thread-index: AcLy6IQuQxfkk+FLQSG0zcfGNS0TtgABPvsQ From: "Yonatan Bokovza" To: X-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,MAILTO_TO_SPAM_ADDR,QUOTED_EMAIL_TEXT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > -----Original Message----- > From: Doug Hardie [mailto:bc979@lafn.org] > Sent: Tuesday, March 25, 2003 18:10 > To: freebsd-questions@FreeBSD.ORG > Subject: Re: [OT] file synchronization between two machines >=20 >=20 >=20 > On Tuesday, Mar 25, 2003, at 08:01 US/Pacific, Louis LeBlanc wrote: >=20 > > Hey all. Sorry for the OT question, but here goes. > > > > Anyone know of a tool or method that can check the last modification > > date of two files under these conditions and keep them in sync? >=20 > I've never tried this, but you might give rsync with the -u option a=20 > try (test it first on unimportant files). I believe you=20 > would need to=20 > run it on both machines as it would only update in one direction. rsync (from ports/net/rsync) does not need a peer on the other side. You can think of is as a clever scp- you can copy to/from one server to/from another server, only rsync can sync files on the block level,=20 so it's supposed to be more efficient than merely copying the files = over. For your case, I'd say run a cron job at the firewalled machine to rsync the files over to the other one. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message