Author Login
Post Reply
On Tue, 06 May 2008 14:40:08 +0200, Michael Schmarck wrote:
> > That hasn't been needed for a long time. Tar is able to detect bzip2
> > and gzip compression and handle it automatically.
>
> That's only true for GNU tar. If you're also dealing with other
> systems where you might not have GNU tar, you might be "surprised"
> to find that "tar xvf file.tgz" doesn't work.
However, this thread is specifically about using tar on /Gentoo, which
does use GNU tar.
> Hence I think, that it is a good idea to keep on using z or j.
That really depends on the level of portability your scripts need. Using
z or j is more portable, but also more complex for scripting.
--
Neil Bothwick
Top Oxymorons Number 46: Found missing

Attachment:
signature.asc (zipped)