当我双击解压缩文件时,我收到错误
2:no such file or directory
之后我打开终端并使用下面的命令,但我得到以下结果:
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
答案 0 :(得分:4)
在终端上尝试以下命令。
ditto -x -k source.zip Destination_Dir
ditto 将恢复大部分内容。积分转到http://ask.metafilter.com/157754/Mac-OS-X-Recovering-a-corrupted-zip-file
答案 1 :(得分:0)
我有此错误消息,对我来说,唯一的解决方案是安装WinRAR试用版并使用它。不会使用内置的Windows 10或MacOS提取实用程序来提取该zip文件。
答案 2 :(得分:0)
您已分割二进制文件,例如file.zip.001,file.zip.002...。您可能只需要合并文件,例如使用cat命令:cat file.zip。*> single.zip
答案 3 :(得分:0)
当我的Linux空间不足时,我会遇到相同的错误:
[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.