'"End-of-central-directory signature not found" when unzipping
When I unzip the file by double click I get the error
2:no such file or directory
After that I open terminal and use the below command but I get the below result:
unzip /Users/mahesh/Desktop/maheshapp.zip
Archive: /Users/mahesh/Desktop/maheshapp.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 /Users/mahesh/Desktop/maheshapp.zip or
/Users/mahesh/Desktop/maheshapp.zip.zip, and cannot find /Users/mahesh/Desktop/maheshapp.zip.ZIP
Solution 1:[1]
Try below command on terminal.
ditto -x -k source.zip Destination_Dir
ditto will recover most of the contents. Credit goes to http://ask.metafilter.com/157754/Mac-OS-X-Recovering-a-corrupted-zip-file
Solution 2:[2]
I had this error message and the only solution for me was to install the trial of WinRAR and use that. The zip file wouldn't extract using either the built-in Windows 10 or MacOS extraction utilities.
Solution 3:[3]
you have splitted binaries, like file.zip.001, file.zip.002 ... you may just need to combine the files e.g. using cat command: cat file.zip.* > single.zip
Solution 4:[4]
I got the same error when my linux run out of space:
[root@client actimize429]# unzip ais-linux-setup-4.29.0.9-20200616.090151-1.zip
Archive: ais-linux-setup-4.29.0.9-20200616.090151-1.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 ais-linux-setup-4.29.0.9-20200616.090151-1.zip or
ais-linux-setup-4.29.0.9-20200616.090151-1.zip.zip, and cannot find ais-linux-setup-4.29.0.9-20200616.090151-1.zip.ZIP, period.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | ?hargav? |
| Solution 2 | Jaymie Thomas |
| Solution 3 | panshul |
| Solution 4 | Mary1 |
