Unpacking .bz2

Andre Pang andrep-ml at vjolnir.org
Fri Jul 7 08:14:00 PDT 2000

On Fri, Jul 07, 2000 at 10:40:51AM -0400, Gerard Beekmans wrote:

> > What about unpacking .bz2-tars this way?
> > 
> > bash-2.04# bzcat xxxx.tar.bz2|tar x
> > 
> > Less to type - same effect as
> > 
> > root:/usr/src# tar --use-compress-prog=bzip2 -xvf filename.tar.bz2
> Yes why not doing it that way. Consider it added to 2.3.6

    you might also like to mention that most modern distributions (like,
anything released within the last two years or so) usually have a -y or -I
option for tar, which is analagous to -z except it works for .bz2 files
instead of .gz.

    eg: tar Ixvf not-pr0n.tar.bz2  or
        tar yxvf not-pr0n.tar.bz2

    if you're building an LFS system, you might want to consider grabbing
the tar patch, which is at the bzip2 home page.
(http://sourceware.cygnus.com/bzip2, IIRC.)

/ #ozone <andrep at vjolnir.org>; (mobile# 0411 882299)
                               trust in love to save
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)

More information about the lfs-dev mailing list