Date: Mon, 28 Mar 2005 05:59:59 -0500 From: "Brian K. White" <brian@aljex.com> To: <freebsd-current@freebsd.org> Subject: Re: Heads up: gtar gone from base system Message-ID: <010401c53385$584a04c0$6800000a@venti> References: <20050313223214.D6EE57306E@freebsd-current.sentex.ca><4243B57D.5050204@freebsd.org> <20050325130458.GA40427@polands.org><20050326181516.X65159@qbhto.arg> <20050327223238.GA749@polands.org>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Doug Poland" <doug@polands.org> To: "Doug Barton" <DougB@freebsd.org> Cc: <current@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010401c53385$584a04c0$6800000a>