Notice! This document is currently in Archived status.
The content of this document may be incorrect or outdated.

Print this article Edit this article

How do I work with xx-tar-gz files?

How Do I Work with xx.tar.gz files?

This is the general practice on the Internet for compressing data or applications. The format of a file 'xxx.tar.gz' is the file name xxx (or application). The directory structure was tarred to condense the data within the directory. This is typically done to create tape archives. Then a program (gzip) was run on the tar file to compress the xxx.tar file leaving a xxx.tar.gz file.

Read the manual pages on "tar" and "gzip".

But the basic idea is

        gzip -dc foo.tar.gz | tar tvf -
to see what's in it and
        gzip -dc foo.tar.gz | tar xvf -
to extract it.


Last Modified: Dec 19, 2016 11:12 am US/Eastern
Created: May 29, 2007 1:07 pm GMT-4 by admin
JumpURL: