unzip


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users unzip
# 1  
Old 04-23-2002
Data unzip

Is there any way to uncompress files in winzip/pkzip format which contain mulitple members without using the "unzip" command?
# 2  
Old 04-24-2002
I am not sure if understand your question...

Could you give a more detailed example of the problem?

I was able to zip up several files under Win32 and FTP them over to my FreeBSD machine and unzip them.
# 3  
Old 04-24-2002
I don't have the command "unzip" on my machine and I am not allowed to install any new software (i.e. unzip). I can only use gunzip + your usual Unix command (eg perl).
# 4  
Old 04-24-2002
I don't think that gunzip supports winzip format.

From the man page for gunzip.
"gunzip can currently decompress files created by gzip, zip, compress, compress -H or pack."


Pkzip may be supported, but it depends on your OS version. You might do a man on gunzip. If you are not allowed to load new software, you may be at an end.

How did you get this file to your UNIX box? Did you copy ftp/copy it somehow from a Windows system? If so, can you extract the file and then put it back on the server as a single file?
# 5  
Old 04-24-2002
I believe keroppi may be at an end...

I found this at the http://www.gzip.org/#faq website:

Code:
Can gunzip extract a .zip archive?
No. Use unzip instead. For Windows, use PowerArchiver 6.1 or WiZ (both freeware) or Winzip (commercial).

# 6  
Old 04-30-2002
Hammer & Screwdriver

I kind of solved this by writing a perl script. The script unbundles the file first by using the record separator "\x50\x4B\x03\x04". The script does rely on knowing the filenames in the zip file.
# 7  
Old 05-01-2002
Quote:
Originally posted by keroppi
I kind of solved this by writing a perl script. The script unbundles the file first by using the record separator "\x50\x4B\x03\x04". The script does rely on knowing the filenames in the zip file.
So you split the file into x number of files from the original zip file and then unzip the single files seperately?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Unzip

Hi All, I am having an error with a zip . It is showing me the below error. I tried using zip and jar command all show me the same error. Not sure what is this error and why this is coming any help ? >>> jar -xvf 99999_zpd.zip extracted: 100793_ipd0000.001.gz extracted:... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies

2. Shell Programming and Scripting

Unzip a gz file

Please tell me the unix command how to unzip a gz file(say a qwe.gz) and the orginal gz file should remain intact. Thanks in advance (7 Replies)
Discussion started by: pranabpal
7 Replies

3. Shell Programming and Scripting

Unzip the .zip file without using unzip utility in UNIX

I have .zip file, i want to list all the files archived in the zip file. unzip utility is not working for me in unix. Please help me resolve this issue Thanks ganesh. (3 Replies)
Discussion started by: Ganesh L
3 Replies

4. UNIX for Advanced & Expert Users

Unzip Help

Hello All, I am trying to write a shell script(linux) where it just unzips the abc.zip file in the same folder. If I write unzip abc.zip in my shell script and try to run the shell script I am getting Error : ?Invalid command But when I run the command unzip abc.zip at the command prompt... (5 Replies)
Discussion started by: su2
5 Replies

5. SCO

Unzip

Hi, I have installed Unzip 5.3 on SCO Unix 5.05 Openserver and it successfully installs but when I go to unzip a file by using unzip <filename> I get ksh: unzip: not found . Any ideas?:o (1 Reply)
Discussion started by: twitchmaker
1 Replies

6. UNIX for Advanced & Expert Users

Unzip help

Hi, client is posting a zip file with named as "LM_SEEHERE_-_TMG_905678_20100504.zip". In zip file, inside we have 3 .csv files. how to unzip the file and client needs only "LM_SEEHERE_-_TMG_905678_20100504.csv" the other two files are products.csv,category.csv. They don't want these files... (2 Replies)
Discussion started by: kirankumar
2 Replies

7. Shell Programming and Scripting

How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi, I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server. How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

8. Shell Programming and Scripting

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... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

9. UNIX for Dummies Questions & Answers

unzip!!!!!!

Hi, How to find the size of a zipfile after unzipping without unziping it? Pls let me know if anyone has idea abtit. Thanks (1 Reply)
Discussion started by: rags_s11
1 Replies

10. HP-UX

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... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies
Login or Register to Ask a Question