Operating System - HP-UX
1833452 Members
3303 Online
110052 Solutions
New Discussion

how to uncompress .zip file ?

 
SOLVED
Go to solution
Jerry_109
Super Advisor

how to uncompress .zip file ?

a user has a .zip file on system. How do you uncompress this file ?
4 REPLIES 4
Michael Steele_2
Honored Contributor
Solution

Re: how to uncompress .zip file ?

Hi Ravi
If you move your ri202-L010920.zip
to ri202-L010920.gz, it is possible to unzip it using gunzip.
I have ever tested it with a text file, it worked propelly

HP-UX uses gunzip all gzip files with the file extension .gz.

Failing this, ftp the file back to a PC, unzip there and re-ftp back onto the server.

This link is also suppose to work but I can't vouch for it: http://www.tucows.com/preview/8756

refer to unzip 5.42
Support Fatherhood - Stop Family Law
Florian Heigl (new acc)
Honored Contributor

Re: how to uncompress .zip file ?

it depends :)

is it GNU zip or pkware's zip?

in the first case use /usr/contrib/bin/gunzip to uncompress, otherwise grab an unzip binary at: http://hpux.connect.org.uk/hppd/hpux/Misc/unzip-5.52/

tranfer it to Your HP-UX system and install it using
swinstall -s /path/to/depotfile "unzip" @ /

after that use
swlist -l file unzip
to find out about the install location.
yesterday I stood at the edge. Today I'm one step ahead.
Jerry_109
Super Advisor

Re: how to uncompress .zip file ?

I located a copy of "unzip", and put it under "/usr/local/bin" it seems to work fine.
Thanks
Arunvijai_4
Honored Contributor

Re: how to uncompress .zip file ?

Hi Jerry,

You can use "jar" utility as well,

# /opt/java1.4/bin/jar -xvf

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"