From owner-freebsd-questions@FreeBSD.ORG Sun Mar 14 14:32:55 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 578D716A4CE for ; Sun, 14 Mar 2004 14:32:55 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id DF8CF43D39 for ; Sun, 14 Mar 2004 14:32:54 -0800 (PST) (envelope-from freebsd@stevenfettig.com) Received: (qmail 77268 invoked from network); 14 Mar 2004 22:32:54 -0000 Received: from 66-168-50-57.jvl.wi.charter.com (HELO stevenfettig.com) (66.168.50.57) by relay.pair.com with SMTP; 14 Mar 2004 22:32:54 -0000 X-pair-Authenticated: 66.168.50.57 Message-ID: <4054DD7F.1000502@stevenfettig.com> Date: Sun, 14 Mar 2004 16:32:31 -0600 From: "Steven N. Fettig" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040213 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd@celestial.com References: <4054B6A3.7080704@stevenfettig.com> <20040314201032.GA72170@alexis.mi.celestial.com> In-Reply-To: <20040314201032.GA72170@alexis.mi.celestial.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-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 22:32:55 -0000 Bill Campbell wrote: > > >I would do this with two rsync runs from one machine > >cd $directory >rsync -e ssh -vaurP ./ $remote:$directory >rsync -e ssh -vaurP $remote:$directory/ . > >Better yet, set up the directories in the rsyncd.conf files on >each machine: > >cd $directory >rsync -vaurP ./ ${remote}::dir_module/ >rsync -vaurP ${remote}::dir_module/ . > >Bill >-- >INTERNET: bill@Celestial.COM Bill Campbell; Celestial Software LLC >UUCP: camco!bill PO Box 820; 6641 E. Mercer Way >FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 >URL: http://www.celestial.com/ > >More laws, less justice. -- Marcus Tulius Ciceroca (42 BD) >_______________________________________________ >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" > > I don't know why I didn't think of reversing the src and dest input on the command... Thanks! Steve Fettig