Operating System - HP-UX
1821641 Members
3335 Online
109633 Solutions
New Discussion юеВ

Problems with unzipping and zip

 
wvsa
Regular Advisor

Problems with unzipping and zip

Good day to all;

Have a problem with using zip to zip files. Downloaded the latest version of zip yet when I try to use zip get the following message

zip GC*
zip warning: missing end signature--probably not a zip file (did you
zip warning: remember to use binary mode when you transferred it?)

This file was created by sas, that shouldn't be problem. Any thoughts as to why this is happening?

Regarding the problem with unzip, downloaded the latest version of unzip for hpux. When I try to unzip a .zip file that has a file greater than 2gigs unzip stops and tells me that I'm out of space. Well thanks for playing that's not true have 30gigs of free space and the large files ouption is set on the mount point, have 7gig files in the same directory. So once again would ask for any help you might provide. Can't use gzip or compress vendor does not support these.

So any help that can provided will be greatly appreciated.

WVSA
6 REPLIES 6
John Dvorchak
Honored Contributor

Re: Problems with unzipping and zip

I don't use zip but gzip. That being said isn't the command for creating a zip archive actuall zip then the ziparchname then the file list you want in archive or .zip file?

> zip GCarchive GC*

Good luck with the 2gb limitation of zip, you may have to work around that with smaller archive files.
If it has wheels or a skirt, you can't afford it.
Patrick Wallek
Honored Contributor

Re: Problems with unzipping and zip

Would it be possible to just unzip the files on a windows box and then transfer them to your HP-UX machine?

You could also try downloading the latest version of PKZip from PKWare. They have demos available for Unix:

http://www.pkware.com/downloads/software/evals/download.php?PLATFORM=unixsrv
HGN
Honored Contributor

Re: Problems with unzipping and zip

Hi

The issue looks like with the size limit, you need to use a different version of unzip which can support files larger than 2GB, I think they are downloadable of the web.

Rgds

HGN
john bilyeu
New Member

Re: Problems with unzipping and zip

Actually have not found any "un-zippers" for HP-UX 11iv1 that do not have the 2gb limit.
Anybody?
Mahesh Kumar Malik
Honored Contributor

Re: Problems with unzipping and zip

Hi

Download gzip for hp-ux from following link:

http://hpux.connect.org.uk/hppd/hpux/Gnu/gzip-1.3.5/

Hope it helps you.

Regards
Mahesh
Matthew_50
Valued Contributor

Re: Problems with unzipping and zip

following info for unzip files

download "unzip-5.52-sd-11.11.depot.gz" from http://hpux.cs.utah.edu/hppd/hpux/Misc/unzip-5.52/

and place the file in /tmp

0. #cd /tmp
1. #gunzip unzip-5.52-sd-11.11.depot.gz
2. #swinstall -s /tmp/unzip-5.52-sd-11.11.depot
3. select the unzip depot, and press 'm' to mark the depot, goto MENU -> Action -> Install
4. After install, the unzip is locate at
/usr/local/bin/unzip
5. for example, you can use `unzip XXX.zip` to extract the file you want.