uncompressing files?
i have this file here, that i would like to uncompress
ktorrent-3.0.0.tar.bz2.gz.bz2 but for some reason tar -zxvpf ktorrent-3.0.0.tar.bz2.gz.bz2 dosent work. any sudjestions? |
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. |
All times are GMT -5. The time now is 01:59 PM. |