DelphiFAQ Home Search:

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

 

comments6 comments. Current rating: 5 stars (1 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:

 

 

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: