- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- unzip in hp-ux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2001 02:21 AM
тАО10-05-2001 02:21 AM
In hp-ux 11.0 we have gunzip, so that we can gunzip all gzip files. but how to unzip a zip file. i tried using gunzip to zip files, but it gives me the error
#gunzip ri202-L010920.zip
gunzip: ri202-L010920.zip: unknown suffix -- ignored
does anybody has done unzipping pls respond.
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2001 02:32 AM
тАО10-05-2001 02:32 AM
Re: unzip in hp-ux
I'm not sure if there are any utilities under hpux that
will work on zipped files but if there are I'm sure someone will post to this forum shortly .... just my $ 0.02
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2001 02:32 AM
тАО10-05-2001 02:32 AM
Re: unzip in hp-ux
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
Fr?d?ric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2001 02:37 AM
тАО10-05-2001 02:37 AM
Solutionhttp://hpux.cs.utah.edu/hppd/hpux/Misc/unzip-5.42/
http://hpux.cs.utah.edu/hppd/hpux/Misc/zip-2.3/
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2001 02:43 AM
тАО10-05-2001 02:43 AM
Re: unzip in hp-ux
gunzip -S .zip ri202-L010920.zip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2001 02:53 AM
тАО10-05-2001 02:53 AM
Re: unzip in hp-ux
Santosh is right (again;).
Whilst winzip is capable in reading gzip, compress, tar, ... It is not that easy in the other direction. Even renaming the extension to .gz will not work. Gzip handles single files, winzip can compress multiple files/directories in one archive. You'll require an extra utility to manipulate the winzip files, as mentioned by Santosh.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2001 04:02 AM
тАО10-05-2001 04:02 AM
Re: unzip in hp-ux
If the file was "zipped" using zip, then gunzip will work to unzip it by using the -S .zip option on gunzip. I tried it and it works like a champ.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2001 04:09 AM
тАО10-05-2001 04:09 AM
Re: unzip in hp-ux
I just tried it and it does seem to work as long as the zip file only has one entry (btw, neat trick...never knew this). However, if there are multiple files in the archive, then gzip does not know how to handle it.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2001 04:23 AM
тАО10-05-2001 04:23 AM
Re: unzip in hp-ux
After Harry's post I tried everything again :
gunzip -S .zip file : worked OK!
mv file.zip file.gz; gunzip file : worked OK!
I tried renaming & gunzip this morning and it failed!! although the zip-file contained only one file (directorylist messed up after add and remove from archive??).
Conclusion: gunzip of winzip files works only in the afternoon, whoehahahaha ;-)))
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2001 05:32 AM
тАО10-05-2001 05:32 AM
Re: unzip in hp-ux
Thanx a lot for your help. pls find the URL from where we can download the unzip(.depot form) and install.
http://h21007.www2.hp.com/dspp/tech/tech_TechTypeListingPage_IDX/1,1704,10312,00.html
once again thanx a lot
ravi