Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-09-2008, 12:33 AM   #1
Registered: Feb 2008
Location: Los Angeles
Distribution: Slackware-current
Posts: 86

Rep: Reputation: 19
uncompressing files?

i have this file here, that i would like to uncompress

but for some reason
tar -zxvpf ktorrent-3.0.0.tar.bz2.gz.bz2
dosent work. any sudjestions?
Old 03-09-2008, 12:52 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,896

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
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-09-2008 at 12:57 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
compressing / uncompressing a files over 2GB in RH AS 3.0 on ext3 hitesh_linux Red Hat 1 03-08-2008 04:07 AM
uncompressing Linux at boot linuxhippy Slackware 7 03-12-2005 09:38 AM
Uncompressing MS-Backup files in Linux Mathieu Linux - Enterprise 0 08-02-2004 04:57 PM
Uncompressing LeeRobson Linux - Software 3 10-11-2003 08:49 PM
uncompressing document .Z GtkUser Linux - General 12 10-31-2002 01:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration