LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-27-2002, 06:08 AM   #1
Dr.Swing
Member
 
Registered: Mar 2002
Location: Ireland
Distribution: Slackware 8.0, Mandy 9.0
Posts: 31

Rep: Reputation: 15
Question Untar filename.tar.tar


Please, how do I untar a filename .tar.tar file.

Thanks
 
Old 09-27-2002, 06:10 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
.tar.tar? Use this first:
file filename.tar.tar
to determine what the heck it is, then to untar a simple .tar file:
tar xvf filename.tar
so I'd supposed just do that twice?
tar xvf filename.tar.tar THEN when it extracts filename.tar from that, then:
tar xvf filenamr.tar

Cool
 
Old 09-27-2002, 06:12 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
If not, then post the error message it returns.
 
Old 09-27-2002, 06:17 AM   #4
sandy
Member
 
Registered: Aug 2002
Location: Mumbai,India
Distribution: Linux Mint 12, Gentoo
Posts: 230

Rep: Reputation: 30
filename.tar.tar ??????

Was it a typo?

If not try tar xvzf filename.tar.tar
 
Old 09-27-2002, 06:22 AM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
The reason I didn't think he/she needs the Z in xvzf is because I see no gzip on the end there. But it may just be a typo(as you suggested), and is actually a gzipped tar, which would make a little more sense.

Cool
 
Old 09-27-2002, 06:31 AM   #6
Dr.Swing
Member
 
Registered: Mar 2002
Location: Ireland
Distribution: Slackware 8.0, Mandy 9.0
Posts: 31

Original Poster
Rep: Reputation: 15
I just checked the names of the files on the download site and they are filenames.tar.bz2, but most downloaded as filename.tar.tar instead of filename.tar.bz2. So I guess I change the last .tar to a .bz2 and continue as normal.

Tanks
 
Old 09-27-2002, 06:36 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
What did you d/l them with? I have heard of the newest version of Mozilla automagically unzipping files for you during the download. This might be the resulting file. If it's a bzip2, the command is:
tar xvjf filename.tar.bz2

So you could also give that a try.

Cool
 
Old 09-27-2002, 06:44 AM   #8
Dr.Swing
Member
 
Registered: Mar 2002
Location: Ireland
Distribution: Slackware 8.0, Mandy 9.0
Posts: 31

Original Poster
Rep: Reputation: 15
Ashamed to say I d/l'ed with IE5 on W2K.....but that's my fast connection at work.

Tanks again.....Oh! and I'm a HE
 
Old 09-27-2002, 06:50 AM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
he he he, don't you love the internet, anyone can take you for any sex, age, race, whatever.

Anyway, you poor poor guy, IE. Yeah, I'd look into just giving it a try with the directions for the bz2:
tar xvjf filename.tar.tar (or even try changing the name of the file if this doesn't work to .tar.bz2).

If it's not a big deal, what program is this? Might give someone else a chance to try to "emulate" your situation and work their way out a little easier.

Cool
 
Old 09-27-2002, 07:12 AM   #10
Dr.Swing
Member
 
Registered: Mar 2002
Location: Ireland
Distribution: Slackware 8.0, Mandy 9.0
Posts: 31

Original Poster
Rep: Reputation: 15
mmmhhhh, just back from breaky. The files are from the cvs folder on the LFS site which I'm working on at home........some of the files d/l'ed are ok though......but I can't try them out til I get home. Come on the europeans (Ryder Cup)
 
Old 09-27-2002, 07:19 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Oh, cool. Actually if you d/l the full file list from the CVS (something like 90mb) it will end in .tar and all you have to do is:
tar xvf lfs-packages(then hit TAB for autocomplete)

And that will extract them into the current directory.

Cool
 
Old 09-27-2002, 07:46 AM   #12
Dr.Swing
Member
 
Registered: Mar 2002
Location: Ireland
Distribution: Slackware 8.0, Mandy 9.0
Posts: 31

Original Poster
Rep: Reputation: 15
Tanks MasterC. I didn't realize the lfs-packages tarball contained all the packages needed for LFS.....I thought it was just a collection of other packages to add to LFS, and I was about to download it too.....so that's saved me.
 
Old 09-27-2002, 08:10 AM   #13
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Cool, no problem
 
  


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 03:48 AM
massive tar file, can't untar dtra Linux - Software 3 09-08-2011 05:32 AM
untar a list of tar files? Rotwang Linux - General 6 10-10-2006 02:34 PM
getting error during "tar -xvzf filename.tar.gz" b0nd Linux - Newbie 11 04-23-2005 09:50 PM
Getting problem when untar the .tar.gz file? ramakumard77 Linux - General 2 11-29-2004 12:15 PM


All times are GMT -5. The time now is 12:12 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