LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-09-2008, 12:33 AM   #1
elsheepo
Member
 
Registered: Feb 2008
Location: San Diego
Distribution: Slackware 14.2
Posts: 79

Rep: Reputation: 18
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?
 
Old 03-09-2008, 12:52 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
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.
 
  


Reply


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


All times are GMT -5. The time now is 10:47 PM.

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