From owner-freebsd-current@FreeBSD.ORG Mon Mar 28 11:00:29 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EC4616A4CF for ; Mon, 28 Mar 2005 11:00:29 +0000 (GMT) Received: from s1tank.virtdom.com (s1tank.virtdom.com [12.26.83.50]) by mx1.FreeBSD.org (Postfix) with SMTP id A1B9543D1D for ; Mon, 28 Mar 2005 11:00:28 +0000 (GMT) (envelope-from brian@aljex.com) Received: (qmail 11335 invoked by uid 89); 28 Mar 2005 11:03:49 -0000 Received: from ool-43552092.dyn.optonline.net (HELO venti) (brian@aljex.com@67.85.32.146) by s1tank.virtdom.com with SMTP; 28 Mar 2005 11:03:49 -0000 Message-ID: <010401c53385$584a04c0$6800000a@venti> From: "Brian K. White" To: References: <20050313223214.D6EE57306E@freebsd-current.sentex.ca><4243B57D.5050204@freebsd.org> <20050325130458.GA40427@polands.org><20050326181516.X65159@qbhto.arg> <20050327223238.GA749@polands.org> Date: Mon, 28 Mar 2005 05:59:59 -0500 Organization: Aljex Software MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: Heads up: gtar gone from base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 11:00:29 -0000 ----- Original Message ----- From: "Doug Poland" To: "Doug Barton" Cc: Sent: Sunday, March 27, 2005 5:32 PM Subject: Re: Heads up: gtar gone from base system > On Sat, Mar 26, 2005 at 06:16:24PM -0800, Doug Barton wrote: >> On Fri, 25 Mar 2005, Doug Poland wrote: >> >> >There are some examples in the gtar man page that would be nice to have >> >in bsdtar. >> >> Given that "some examples" have already been implemented, I think we're >> covered here. :) If you want something more specific, you'll have to >> provide a little more information. >> > OK, the example I cannot live without... > > > To move file hierarchies, use a command line like this: > > tar -cf - -C srcdir . | tar xpf - -C destdir Why not? Isn't that just a slight convenience for this?: cd srcdir ; tar cf - . |( cd destdir ; tar xpf - ) It looks equivalent saying you cannot live without -j or -z ? now if "cd" ever decides to eat even one character from stdin that'd be different :) Brian K. White -- brian@aljex.com -- http://www.aljex.com/bkw/ +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani