Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

[gentoo-user] Re: tar a brand new Gentoo install to a USB drive for safe keeping?

Michael Schmarck

2008-05-06

Replies:

Author LoginPost Reply
Neil Bothwick <neil@(protected):

> On Mon, 5 May 2008 00:04:44 -0400, Ian Graeme Hilt wrote:
>
>> > tar xvfp SYSTEM.tar.bz2
>>
>> To extract bzip2 files with tar, you need to add the "j" option.
>
> 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.

Hence I think, that it is a good idea to keep on using z or j.

Michael

--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.