Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos &引用;找不到中央目录签名的结尾";解压时_Macos_Osx Yosemite_Unzip - Fatal编程技术网

Macos &引用;找不到中央目录签名的结尾";解压时

Macos &引用;找不到中央目录签名的结尾";解压时,macos,osx-yosemite,unzip,Macos,Osx Yosemite,Unzip,当我双击解压文件时,我得到了错误 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

当我双击解压文件时,我得到了错误

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

在终端上尝试下面的命令

同上-x-k source.zip Destination\u Dir


同上将恢复大部分内容。我收到了这个错误消息,唯一的解决办法就是安装WinRAR试用版并使用它。zip文件无法使用内置的Windows 10或MacOS提取实用程序进行提取。

您已经拆分了二进制文件,如file.zip.001、file.zip.002。。。您可能只需要组合文件,例如使用cat命令:cat file.zip.*>single.zip


信用证:

当我的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.

ditto
zip
之间有什么区别?@Pacerier ditto:复制目录层次结构、创建和提取存档文件以及zip:打包和压缩(存档)文件