Subject: Re: "best way" to unpak tarballs (so many choices)
To: None <netbsd-users@NetBSD.org>
From: Aaron J. Grier <agrier@poofygoof.com>
List: netbsd-users
Date: 11/25/2003 21:43:24
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