1830250 Members
2561 Online
110000 Solutions
New Discussion

Re: gunzip question

 
roger_122
Occasional Advisor

gunzip question

Trying to gunzip a file. Getting this error:

gunzip: sx.gz has more than one entry -- unchanged

How do we gunzip this file.?

Thanks
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: gunzip question

Roger,

From the man page:

"To extract zip files with several members, use unzip instead of gunzip."


Pete

Pete
Devesh Pant_1
Esteemed Contributor

Re: gunzip question

If it is a .gz file, you might want to user the newer version og gunxip
thanks
DP
mirco_1
Valued Contributor

Re: gunzip question

hy,

# gzip -d

or

# gunzip

DM.
Bejoy C Alias
Respected Contributor

Re: gunzip question

It seems ur file is a gzip file created from a tar file . Try 'gunzip sx.gz' and see what it gives . OR use 'zcat sx.gz | tar xvf -' if u r sure that it is a gziped tar file .
Be Always Joy ......
Vibhor Kumar Agarwal
Esteemed Contributor

Re: gunzip question

You can also try the GNU gzip.

It has many advanced options.
Vibhor Kumar Agarwal
Mahesh Kumar Malik
Honored Contributor

Re: gunzip question

Hi Roger

Syntax is

#gunzip

Unzipped file will be seen in same directory

Regards
Mahesh