LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to uncompress x.tar.tar (https://www.linuxquestions.org/questions/linux-software-2/how-to-uncompress-x-tar-tar-345592/)

ztdep 07-21-2005 11:40 PM

how to uncompress x.tar.tar
 
i download a game , but it has a file name of x.tar.tar .

i don not know how to uncompress it .

i have tried command : tar , unzip , gzip , etc

but all it can not work .

does someone know it .

regards

michaelsanford 07-21-2005 11:58 PM

You have two options: either that the file has been tarred twice, which really makes no sense, or that the person made a typo when they named the file.

For the first possibility do
tar xvf x.tar.tar ; tar xvf x.tar

For the second try
tar xvjf x.tar.tar
or if that doesn't work
tar xvzf x.tar.tar

If none of those work, then something else is wrong with the file. Read the guide on their web site or contact the developer.

rcainc 07-22-2005 04:07 AM

Hi,

Some times some site make errors with file extentions.
you should do :

file yourfile.tar.tar

and you should see if it talk about gzip

if it's that you sould do

mv youfile.tar.tar youfile.tar.gz
tar xvzf yourfile.tar.tar

and if it talk about bzip2 :

mv youfile.tar.tar youfile.tar.bz
tar xvjf yourfile.tar.tar

michaelsanford 07-22-2005 12:02 PM

rcainc it's kind of you to reply but that's exactly the same as my post. Also you have an error: mv x.tar.tar x.tar.gz ; tar xvzf x.tar.tar (but that file no longer exists, right ;) )

Note: `tar` doesn't care what the extension /actually/ is, you can have a tar+bzip2 file that has no extension at all as long as you pass it the correct decompression parameters.


All times are GMT -5. The time now is 11:22 AM.