From owner-freebsd-questions@FreeBSD.ORG Sun Mar 2 01:27:17 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 4ED371065670 for ; Sun, 2 Mar 2008 01:27:17 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.186]) by mx1.freebsd.org (Postfix) with ESMTP id CA5D28FC1C for ; Sun, 2 Mar 2008 01:27:16 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: by gv-out-0910.google.com with SMTP id n40so2621853gve.39 for ; Sat, 01 Mar 2008 17:27:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=OHrjG8C6nNE0eYN1ATvp0UF3iRAyxO5pI5BpyPxX2Eo=; b=QEyAOZZJDxtbUOL33eH0VCETfJX6HUJWp0vlqnqjhkNJn1N7+G4MX/VxaXM5QWKe1UP64Tg2cuBqJ3bN2USkgxI1jDi3QTrka6Hls2eFCxjeneHWf7jqThwM61jFS6j20/MYTj3+xliRligUWxx94xLSXF1SB9LWels7RVaGFGs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=rvPLQxXQyY7dBD5XuQIyGC4CGw55FmWnLJhv5z4nAa9C/rohFoGOKlbsiaT1G3mdlSGldRSI4ayJ8f74cEITwp/L9ezLHJkXomsgdS3VyM33vyLG3jmbX+zz8vogoPJlFwAMfivb5qOO9Mo3G6xuLfpAvGIXGwdl6eb9hsVxTww= Received: by 10.115.15.1 with SMTP id s1mr3302245wai.0.1204421234174; Sat, 01 Mar 2008 17:27:14 -0800 (PST) Received: from saraswathy.madambakam.org ( [59.92.50.181]) by mx.google.com with ESMTPS id j6sm22460785wah.6.2008.03.01.17.27.12 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 01 Mar 2008 17:27:13 -0800 (PST) Received: by saraswathy.madambakam.org (Postfix, from userid 1002) id A2A6239FF5C; Sun, 2 Mar 2008 06:57:07 +0530 (IST) Date: Sun, 2 Mar 2008 06:57:07 +0530 From: Girish Venkatachalam To: freebsd-questions@freebsd.org Message-ID: <20080302012707.GA30006@saraswathy.madambakam.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20080301021803.GA26930@thought.org> <20080301032550.GA15588@saraswathy.madambakam.org> <200803011336.57193.kline@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200803011336.57193.kline@thought.org> User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: rsync X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: girishvenkatachalam@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 01:27:17 -0000 On 13:36:56 Mar 01, Gary Kline wrote: > 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. I started using rsync with -avzp but then realized that it would not delete the directories/files I deleted at the source *after* the backup. That is why I added the --delete hoping that it would replicate in such a way that both copies look identical. -Girish -- "unix soi qui mal y pense" UNIX to him who evil thinks