Gentoo Archives: gentoo-user

From: Steven Lembark <lembark@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: tar a brand new Gentoo install to a USB drive for safe keeping?
Date: Wed, 07 May 2008 16:09:14
Message-Id: 4821D252.1020902@wrkhors.com
In Reply to: [gentoo-user] Re: tar a brand new Gentoo install to a USB drive for safe keeping? by Michael Schmarck
1 >>>> tar xvfp SYSTEM.tar.bz2
2 >>> To extract bzip2 files with tar, you need to add the "j" option.
3 >> That hasn't been needed for a long time. Tar is able to detect bzip2 and
4 >> gzip compression and handle it automatically.
5 >
6 > That's only true for GNU tar. If you're also dealing with other
7 > systems where you might not have GNU tar, you might be "surprised"
8 > to find that "tar xvf file.tgz" doesn't work.
9 >
10 > Hence I think, that it is a good idea to keep on using z or j.
11
12 Not all of them speak any squish factor, leaving:
13
14 gzip -dc blah.tar.gz | tar xvf -;
15
16 (or bzip/bzip2) as the most portable route.
17
18 --
19 Steven Lembark 85-09 90th St.
20 Workhorse Computing Woodhaven, NY, 11421
21 lembark@×××××××.com +1 888 359 3508
22 --
23 gentoo-user@l.g.o mailing list