How to Unzip a .ZIP file in Unix without using unzip cmd..????? | Unix Linux Forums | HP-UX

  Go Back    


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

HP-UX


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-02-2007
sureshg_sampat sureshg_sampat is offline
Registered User
 
Join Date: Nov 2006
Last Activity: 28 July 2013, 1:34 PM EDT
Location: Pune, India
Posts: 71
Thanks: 0
Thanked 1 Time in 1 Post
How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All

I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX).
I don't have unzip cmd available in my curent Unix version

Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file .

Please elaborate on the commands aval and the related steps

AWAITING REplyyy

Thannks
Suresh
Sponsored Links
    #2  
Old 02-03-2007
tayyabq8's Avatar
tayyabq8 tayyabq8 is offline Forum Advisor  
Ex-Moderator
 
Join Date: Nov 2004
Last Activity: 16 December 2013, 12:55 AM EST
Location: Bahrain
Posts: 592
Thanks: 3
Thanked 7 Times in 3 Posts
If java is installed, try using:
Code:
jar xvf sample.zip

Or one other way is to install unzip at your machine.
The Following User Says Thank You to tayyabq8 For This Useful Post:
techiesri (05-26-2011)
Sponsored Links
    #3  
Old 02-04-2007
porter porter is offline Forum Advisor  
Registered User
 
Join Date: Jan 2007
Last Activity: 8 January 2008, 6:50 PM EST
Posts: 2,965
Thanks: 0
Thanked 5 Times in 5 Posts
Alternatively create a TAR file on your windows box. Cygwin etc will help.
    #4  
Old 02-06-2007
pmoren pmoren is offline
Registered User
 
Join Date: Dec 2006
Last Activity: 22 May 2013, 4:04 PM EDT
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
you can use the command uncompress, I have use winzip to read file compressed with uncompress, never used viceversa, I think it could work.
just put
uncompress sample.zip
maybe you have to change the .zip to .Z before you can use it.
uncompress sample.Z
Maybe you can use pkunzip.
Sponsored Links
    #5  
Old 02-06-2007
porter porter is offline Forum Advisor  
Registered User
 
Join Date: Jan 2007
Last Activity: 8 January 2008, 6:50 PM EST
Posts: 2,965
Thanks: 0
Thanked 5 Times in 5 Posts
.zip .Z and .gz are all different, if they were all the same, you would not need different extensions.

A .gz or .Z file is merely a compressed binary stream.

A zip file is more akin to a .tar.Z in that it contains file meta data.

WinZip is able to make intelligent guesses about what a file really is.

You could create a small tar on the HPUX box, ftp it back to the windows box, use WinZip to open and add your various files, then ftp it back up again. Unpack using tar again on HPUX.
Sponsored Links
    #6  
Old 02-08-2007
mr_manny mr_manny is offline
Registered User
 
Join Date: Oct 2005
Last Activity: 15 November 2013, 4:46 PM EST
Posts: 154
Thanks: 1
Thanked 2 Times in 2 Posts
I guess installing unzip is not an option?
http://hpux.cs.utah.edu/hppd/hpux/Misc/unzip-5.52/
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to Unzip a file using unzip utility for files zipped without zip utility ? Sabari Nath S Shell Programming and Scripting 1 12-11-2009 05:18 PM
unzip .zip file in unix techmoris Shell Programming and Scripting 7 08-18-2009 04:49 PM
how to unzip 17GB .zip file on UNIX? chance04 UNIX for Advanced & Expert Users 2 01-22-2009 04:35 PM
How to Unzip a .ZIP file in Unix without using unzip cmd..????? sureshg_sampat Shell Programming and Scripting 5 11-15-2008 03:44 AM
Unzip windows file on Unix terala_s UNIX for Advanced & Expert Users 6 11-09-2007 08:55 AM



All times are GMT -4. The time now is 07:55 PM.