bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GZIP options


From: Karl Berry
Subject: Re: GZIP options
Date: Fri, 9 Apr 2010 21:27:03 GMT

    I am a UNIX user. I guess one cannot view the files, say the file
    names or the contents of the desired files inside a gzipped file
    without extracting it. So, can we try on it? 

You imply that gzip is like zip, i.e., an archive of files.  This is not
the case.  It is merely a compression format.

You can get the information that gzip stores about the uncompressed file
with zcat -l.  For instance:

$ \zcat -l somefile.gz
         compressed        uncompressed  ratio uncompressed_name
               3143                9780  68.1% somefile

Hope this helps,
Karl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]