LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Untar filename.tar.tar (https://www.linuxquestions.org/questions/linux-newbie-8/untar-filename-tar-tar-31309/)

Dr.Swing 09-27-2002 05:08 AM

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

Thanks

MasterC 09-27-2002 05:10 AM

.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

MasterC 09-27-2002 05:12 AM

If not, then post the error message it returns.

sandy 09-27-2002 05:17 AM

filename.tar.tar ??????

Was it a typo?

If not try tar xvzf filename.tar.tar

MasterC 09-27-2002 05:22 AM

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

Dr.Swing 09-27-2002 05:31 AM

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

MasterC 09-27-2002 05:36 AM

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

Dr.Swing 09-27-2002 05:44 AM

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

MasterC 09-27-2002 05:50 AM

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

Dr.Swing 09-27-2002 06:12 AM

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)

MasterC 09-27-2002 06:19 AM

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

Dr.Swing 09-27-2002 06:46 AM

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.

MasterC 09-27-2002 07:10 AM

Cool, no problem ;)


All times are GMT -5. The time now is 02:36 PM.