gilprice.com

How to Unzip a .bz2 Archive

By: Gil Price
Original: 8/5/2003
Modified: 11/4/2005

Here's one method to unarchive a bz2 file:

Use either bunzip2 or bzip2 -d, followed by tar. For example,

bzip2 -cd file.tar.bz2 | tar xvf -
or
bzcat file.tar.bz2 | tar xvf -

 

Return Home

The views expressed within this site pretty much represent those of the author, except where otherwise attributed.

Copyright (c) 2000-2011 Gil Price. All rights reserved. I can be reached for comments at gprice[at]gilprice.com, please use [Comment] in the subject link and do include the square brackets.