Mac终端解压缩zip64

时间:2015-08-27 15:31:15

标签: terminal zip unzip

我有Mac OS 10.9.5。我已经从互联网上下载了一个大的zip文件,所有者为我改为zip64,所以它可以工作。我尝试用unzip SNPsnap_gcan_3_500.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 SNPsnap_gcan_3_500.zip or SNPsnap_gcan_3_500.zip.zip, and cannot find SNPsnap_gcan_3_500.zip.ZIP, period.

我不知道如何解压缩此文件。有什么想法吗?

2 个答案:

答案 0 :(得分:35)

没有任何安装,附带操作系统。

打开终端窗口(例如cmd + space - > terminal - > Enter>

输入ditto -xk YourZipfile.zip ./

作品。

答案 1 :(得分:29)

无论出于何种原因,

ditto似乎没有“列表”选项。

如果您使用7zip(可以通过homebrew安装),7za二进制文件具有zip64支持。

就我而言,我试图提取Modern.IE Windows 10 VM映像......

$ 7za l 'Microsoft Edge.Win10.For.Windows.VirtualBox.zip'  # list zip contents

$ 7za e 'Microsoft Edge.Win10.For.Windows.VirtualBox.zip' # extract