Unzip the .zip file without using unzip utility in UNIX


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Unzip the .zip file without using unzip utility in UNIX
# 1  
Old 07-30-2013
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.
# 2  
Old 07-30-2013
How is it not working?
Does it display an error, and if so what does the error say?
Which version of unzip have you installed?

unzip -l $archive is the command you should be issuing to get a list of the files.

unzip -tv $archive will verify the archive is not corrupted and list the contents if it is not
This User Gave Thanks to Skrynesaver For This Post:
# 3  
Old 07-30-2013
Thanks. it is working fine.
# 4  
Old 10-29-2013
Same error

Hi,
i'm also facing same issue
i transferred a zip file from windows to unix in Binary mode
But i'm getting error message while doing unzip in unix

code: bash-3.2$ unzip xxxxxx.zip

message :
Archive: xxxxxx.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of xxxxxx.zip or
PremiseNew.zip.zip, and cannot find xxxxx.zip.ZIP, period.

so tell me why i'm getting this type of error
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need unix command to unzip Dump3.zip

Hi, home/user01 contains Dump3.zip . i need to extract that in the same path. need unix command Thanks (2 Replies)
Discussion started by: aish11
2 Replies

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

3. Shell Programming and Scripting

unzip .zip file in unix

Hi friends, I have a .zip file which has 6 pdf files. I have ftp'd the .zip file into unix and I am trying to uncompress/unzip the file. Could you please help with the right command. Thanks (7 Replies)
Discussion started by: techmoris
7 Replies

4. UNIX for Advanced & Expert Users

how to unzip 17GB .zip file on UNIX?

I have a .zip file of size 17GB on Linux. As per my knowledge unzip(before 6.X version) doesn't work with file size greater than 4GB. I tried my best to uncompress it but didn't successed. Can anybody help me out with this? Any help will be greatly appreciated. Thank you. Regards, Chandu (2 Replies)
Discussion started by: chance04
2 Replies

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

6. UNIX for Dummies Questions & Answers

unzip .zip file and list the files included in the .zip archive

Hello, I am trying to return the name of the resulting file from a .zip archive file using unix unzip command. unzip c07212007.cef7081.zip Archive: c07212007.cef7081.zip SecureZIP for z/OS by PKWARE inflating: CEP/CEM7080/PPVBILL/PASS/G0063V00 I used the following command to unzip in... (5 Replies)
Discussion started by: oracledev
5 Replies

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

8. UNIX for Advanced & Expert Users

How to unzip a .zip file when

there is no unzip package present. (2 Replies)
Discussion started by: yogesh_powar
2 Replies

9. UNIX for Dummies Questions & Answers

how can perform zip or unzip at unix console

how can perfrom zip or unzip for bulk of files at unix console can anybody tell that command (2 Replies)
Discussion started by: lmraochodisetti
2 Replies

10. UNIX for Dummies Questions & Answers

unzip a zip file

hello everyone, i have a dumb question...how do i unzip a zip file?? it has an .zip extension... thanks xNYx (4 Replies)
Discussion started by: xNYx
4 Replies
Login or Register to Ask a Question

Featured Tech Videos