Heads up: gtar gone from base system

Doug Poland doug at polands.org
Mon Mar 28 07:03:38 PST 2005


On Mon, Mar 28, 2005 at 05:59:59AM -0500, Brian K. White wrote:
> 
> ----- Original Message ----- 
> From: "Doug Poland" <doug at polands.org>
> To: "Doug Barton" <DougB at freebsd.org>
> Cc: <current at 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 :)
> 
I can't remember the syntactical variations of using tar to move
directory hierarchies.  I can, however, remember that the man page for
tar has a working example ;)

-- 
Regards,
Doug


More information about the freebsd-current mailing list