The z option doesn't work for bz2 compressed files; it's does work with gz compressed files. So, to unpack a bz2 archive, you need to add the -j or the --bunzip2 flag:
tar -jxvf <filename>tar.bz2
tar --bunzip2 -xvf <filename>.tar.bz2
or, unpack the file in two steps:
bunzi2 <filename>.tar.bz2
tar -xvf <filename>.tar
For more on tar, see the man pages.
Last edited by bigrigdriver; 03-08-2008 at 11:57 PM.
|