cancel
Showing results for 
Search instead for 
Did you mean: 

.zip files

Benjamin Morrilll
Occasional Contributor

.zip files

I have been doing some log managment on a site i manage. While doing so i have come across .zip files but when i type zip as root this command is not recognised and there seems to be no man page for zip either. I am used to using gzip so when i found these i was wondering what command might have created them?
I want to conserve space on the filesystem these logs reside and want to compare the compresion ratios of the program that created these .zip files and gzip which i am familiar with already. Any ideas or thoughts would be apprecieated.
6 REPLIES
Ivan Krastev
Honored Contributor

Re: .zip files

Install zip from here - http://hpux.connect.org.uk/hppd/hpux/Misc/zip-3.0/

regards,
ivan
Steven Schweda
Honored Contributor

Re: .zip files

And UnZip:

http://hpux.connect.org.uk/hppd/hpux/Misc/unzipbeta-6.0d/
http://hpux.connect.org.uk/hppd/hpux/Misc/unzip-5.52/

UnZip 5.52 is the latest released version.
UnZip 6.0d is an old but large-file-capable
pre-release ("BETA") version (which should
work).

http://www.info-zip.org/
(Not working at the moment.)

http://sourceforge.net/projects/infozip/
Avinash20
Honored Contributor

Re: .zip files

Zip software doesn't come with the OS.

You need to install Open-Source zip software.

Links as suggested above .
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Patrick Wallek
Honored Contributor

Re: .zip files

The fact that you have .zip files on the server already suggests that you **may** already have the software installed. However, it may not be in your PATH.

Check /usr/local/bin/ for zip programs, likely just zip and unzip. If there is nothing there you should search through /opt as well.
Arturo Galbiati
Esteemed Contributor

Re: .zip files

Hi Benjanmin,
If you don't have access to an unzipping utility, you can use the jar command, included in the "bin" directory of the Java, as long as it is reachable from your executable path:
jar xvf file.zip

It should run also for zip the file.
Take care that the files cannot be larged than 2GB (if I well remmeber).

HTH,
Art
sujit kumar singh
Honored Contributor

Re: .zip files

Hi,


IN line with what Steven has to say , just to add the following thigs if u need to install the unzip on ur system , mind that the unzip is different for different versions of HP-UX and also that u r running that on IA or PA Platform...


What u need is to download the unzip utility from the following site,
http://hpux.cs.utah.edu/hppd/hpux/Misc/unzip-5.52/

The file for the HP-UX 11.23 on an Itanium Platform is
unzip-5.52-ia64-11.23.depot.gz


FTP that to the server in the /tmp folder and do an swinstall for that depot file.
#cd /tmp
#gunzip unzip-5.52-ia64-11.23.depot.gz

#swinstall â  s /tmp/unzip-5.52-ia64-11.23.depot

After the installation do
#whereis unzip
get the path
and
#cp -p /usr/sbin
OR
#cp -p /usr/bin

then get running unzip <.zip_file_that_u_want_to_unzip>


Regards
Sujit