DelphiFAQ Home Search:

What is a .tgz file - how do I open a *.tgz file?

 

comments13 comments. Current rating: 3 stars (3 votes). Leave comments and/ or rate it.

Question:

I got a backup file with an extension .tgz - what is that and how do I open it?

Answer:

A *.tgz file is a gnu-zipped .tar file.
You can use gunzip to unpack it and afterwards tar to untar it.

You can unpack it with this command - insert your .tgz file for SAMPLE:

// 2 steps
gunzip -c SAMPLE.tgz
tar tf SAMPLE.tar

// now you should have a folder SAMPLE with your files

// or, using a pipe:
gunzip -c SAMPLE.tgz | tar tf -


Comments:

2007-08-21, 11:58:14
anonymous from United States  
Just do tar -zxvf SAMPLE.tgz . . .

Or tar zxvf SAMPLE.tgz
2009-06-20, 15:58:21
escortkeel@live.com from Sydney, Australia  
rating
great but
guys as the first person said you don't have to write all that

kind regards,
escortkeel
2009-07-28, 09:09:24
anonymous from United Kingdom  
PHEW!!


Keywords:
2012-08-21, 18:57:49
anonymous  
Can I just use WinRar to open .tgz?
2012-09-04, 04:33:10   (updated: 2012-09-04, 04:33:46)
anonymous from United Kingdom  
rating
Use winrar and extract the file.It will be fine.It will take care of it.Cheers
2012-11-13, 16:01:39
anonymous  
You can also beside WinRar use the program: 7Zip it´s a great free software to unrar many rare and odd and common fileextensions! Good Luck!
2012-11-13, 16:01:44
anonymous  
You can also beside WinRar use the program: 7Zip it´s a great free software to unrar many rare and odd and common fileextensions! Good Luck!
2012-11-26, 22:28:05
anonymous  
rating
Very Bad


Keywords:
2013-07-14, 02:44:05
anonymous from Turkey  
This problem is very easy ;) but if you have got brain?
2013-10-07, 12:29:58
anonymous from Jamaica  

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: