From owner-freebsd-questions@FreeBSD.ORG Sun Mar 2 00:41:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8501C106567A for ; Sun, 2 Mar 2008 00:41:31 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id DF4CE8FC2D for ; Sun, 2 Mar 2008 00:41:30 +0000 (UTC) (envelope-from kline@thought.org) Received: from tao.thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id m220fQeL092256 for ; Sat, 1 Mar 2008 16:41:26 -0800 (PST) (envelope-from kline@thought.org) From: Gary Kline To: freebsd-questions@freebsd.org.mailing.list Date: Sat, 1 Mar 2008 16:41:25 -0800 User-Agent: KMail/1.9.7 References: <20080301021803.GA26930@thought.org> <200803011336.57193.kline@thought.org> <47C9D2E1.9010306@passagen.se> In-Reply-To: <47C9D2E1.9010306@passagen.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803011641.25757.kline@thought.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: Re: rsync X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 00:41:31 -0000 On Saturday 01 March 2008 14:04:17 Roger Olofsson wrote: > Gary Kline skrev: > > On Friday 29 February 2008 19:25:50 Girish Venkatachalam wrote: > >> On 18:18:06 Feb 29, Gary Kline wrote: > >>> Is there a flag I can set to use with rsync to backup every file of > >>> /usr/home/* [here on my FBSD desktop] to my Ubuntu desktop that has > >>> only /home/*?? > >>> > >>> Of course, I could always create /usr/home on my other computers. ... > >> > >> Your question is not clear to me. > >> > >> I use > >> > >> $ rsync -avzp --delete /usr/home/* /home > >> > >> if that is what you are looking for. > > > > What does the "--delete" do?! I want to make a complete copy of, say, > > /usr/home/kline/* from here [tao] to my Ubuntu server, ethos, which has > > a "/home" mountpoint--- in otheer words: /home/kline/*. If the > > "--delete /usr/home* /home" syntax will let rsync rewrite /usr/home to > > /home, then fine. > > > > gary > > > >> -Girish > >> _______________________________________________ > >> 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" > > --delete makes sure that if you delete a file on the source, it's also > deleted on the mirror. > > (Tip for those that use rsync to backup Windows machines to FreeBSD - > You will most likely have to use --ignore-errors if you are syncing > to/from windows machines with --delete.) > > Just my nickels worth. > > /R Good point. Because in addition to copying files across flavors of 'Nix, I do want to delete the old changes. Especially as my projects evolve. -- Gary Kline kline@thought.org www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org