您的位置:首页 > 其它

How do I unzip tarballs with the 'bz2' extension?

2009-02-26 22:23 417 查看
First, you need the bzip2 package. Get it from your favourite FTP site if you haven't already got one. Next, to view the contents, simply do this:
$ bzip2 -cd files.tar.bz2 | tar tvf -

To extract, do this instead:
$ bzip2 -cd files.tar.bz2 | tar xvf -

Of course, you can also use something like:
"tar --use-compress-program bzip2 -xvf files.tar.bz2"

tar -xjvf linux-2.6.25.tar.bz2 -C /usr/src
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐