LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-09-2005, 09:34 PM   #1
Sk8trf69
LQ Newbie
 
Registered: Mar 2005
Distribution: Linux
Posts: 29

Rep: Reputation: 15
.tar


how do i untar directorys?
 
Old 06-09-2005, 09:38 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
you don't untar directories... you untar a tar file... like this:
Code:
tar xvf example.tar
 
Old 06-09-2005, 09:44 PM   #3
Sk8trf69
LQ Newbie
 
Registered: Mar 2005
Distribution: Linux
Posts: 29

Original Poster
Rep: Reputation: 15
my friend told me u untar .bz2 files differently Example:ma3j_goldengreen.tar.bz2
 
Old 06-09-2005, 09:46 PM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by Sk8trf69
my friend told me u untar .bz2 files differently Example:ma3j_goldengreen.tar.bz2
in the thread title you have ".tar"... that's a pure tar file... a ".tar.bz2" is a tar file that has been compressed using bzip2... so you need to add the option to decompress using bzip to the command:
Code:
tar xvjf example.tar.bz2
if it was compressed using gzip instead of bzip2, it would be:
Code:
tar xvzf example.tar.bz2
do a "man tar" for more info or check-out this link:

http://www.die.net/doc/linux/man/man1/tar.1.html


Last edited by win32sux; 06-09-2005 at 10:13 PM.
 
  


Reply



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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 10:55 AM
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 11:02 AM
.rpms, .tar.gz, .tgz, .src.rpm, & .tar.bz2 whoots Mandriva 10 10-18-2003 12:08 PM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:53 AM.

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
Open Source Consulting | Domain Registration