[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-users
Subject:    Re: "best way" to unpak tarballs (so many choices)
From:       "Aaron J. Grier" <agrier () poofygoof ! com>
Date:       2003-11-26 5:43:24
[Download RAW message or body]

On Mon, Nov 17, 2003 at 10:28:30PM +0100, Axel Scheepers, Operations Via NET.Works NL wrote:

> Tar evolved over time, supporting more options step by step.  Things
> like -C <directory> et al might not have been available in the
> original (Sixth Edition Unix?) version, hence you would have to use
> the somewhat more verbal version; gzip -dc arc.tar.gz | ( cd
> /some/where; tar -xf - )

change the ; to a && in case the cd fails...

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
  "someday the industry will have throbbing frontal lobes and will be able
  to write provably correct software.  also, I want a pony." -- Zach Brown
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic