United-States flag

0

How to decompress .tar.bz2 file

$ tar xvyf file.tar.bz2 tar: Unrecognized archive format: Inappropriate file type or format tar: Error exit delayed from previous errors.

Vote for the Best Answer

0

Normally, I would bunzip the file first, then untar it next. But I found something after googling for a shortcut: it can all be done with just one tar command.



$tar -xjvf example.tar.bz2



Notice that, we use j flag to decompress bzip2 file and z flag for gzip file.

Like this post? Share it!

Join Our Community!

Join our community and participate in the discussions!

Stats

answers

1

people

2

2 Followers