LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   D/l a .tgz.tar file..how to unzip (https://www.linuxquestions.org/questions/linux-newbie-8/d-l-a-tgz-tar-file-how-to-unzip-301071/)

Navop 03-13-2005 07:27 AM

D/l a .tgz.tar file..how to unzip
 
new at this ...just d/l a file that ends in tgz.tar
tried gunzip and it give me an error..unknown suffix

ty

jonaskoelker 03-13-2005 07:56 AM

try this:
$ file foo.tgz.tar
POSIX tar archive
$ tar -xvf foo.tgz.tar
bar.tgz
$ file bar.tgz
GZIP compressed file (*or something similar*)
$ tar -zxvf bar.tgz
(*lots of files*)

... now, it beats me why the hell someone would want to tar a .tgz-file (tgz is an abbreviation of .tar.gz, so the full file would be .tar.gz.tar); anyways, hope this helps.

Jonas Kölker


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