解压缩时“找不到中央目录末尾签名”

mah*_*h j 5 macos unzip osx-yosemite

当我双击解压缩文件时,出现错误

2:no such file or directory 
Run Code Online (Sandbox Code Playgroud)

之后,我打开终端并使用以下命令,但得到以下结果:

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
Run Code Online (Sandbox Code Playgroud)

βha*_*avḯ 5

在终端上尝试以下命令。

同上-x -k source.zip Destination_Dir

同上将恢复大多数内容。版权归http://ask.metafilter.com/157754/Mac-OS-X-Recovering-a-corrupted-zip-file