Unzip not working


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Unzip not working
# 1  
Old 09-18-2013
Unzip not working

Hi,

I am compressing files on my local pc (windows 7) and moving them to a UNIX server.

When I try to unzip file in UNIX server, it says unzip not found.
I googled and tried doing "which unzip". I find that unzip utility is not available.

Please suggest any other alternative. I can use gzip and gunzip (available in our unix server), but I dont know how to compress files in my local pc to allow gunzip. I cannot install any third party GZIP app for that purpose.

Please advice what else I can do.
# 2  
Old 09-18-2013
If you can't install anything on Windows, you should install unzip on UNIX instead.

gzip and gunzip are not zip-clones, their function is rather different, stream compressors rather than an archive format.
# 3  
Old 09-18-2013
The below command worked out well for me. Thank you.

Code:
gunzip -S .zip filename.zip


Last edited by Scott; 09-20-2013 at 03:12 PM.. Reason: Code tags
# 4  
Old 09-18-2013
gunzip is not a zip-clone. They have very different functions.

As a result of this difference, gunzip is only able to extract the first file found in an archive.
# 5  
Old 09-20-2013
you need to install zip application.

instead of which unzip, use which zip

Code:
zip -o filename.zip works


Last edited by Scott; 09-20-2013 at 03:12 PM.. Reason: Code tags
 
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 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. UNIX for Advanced & Expert Users

unzip

Is there any way to uncompress files in winzip/pkzip format which contain mulitple members without using the "unzip" command? (9 Replies)
Discussion started by: keroppi
9 Replies
Login or Register to Ask a Question