Mac终端解压缩zip64

Eva*_*van 28 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.

我不知道如何解压缩这个文件.有什么想法吗?

Mar*_*kus 38

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

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

输入 ditto -xk YourZipfile.zip ./

作品.

  • 谢谢!这是正确的工具,`ditto`工作得很好并附带操作系统. (5认同)

tho*_*nic 31

ditto 无论出于何种原因,似乎没有"列表"选项.

如果您使用7zip(可以通过自制程序安装),则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
Run Code Online (Sandbox Code Playgroud)

  • 要通过briew安装:`brew install p7zip` (8认同)
  • 请注意,7za有两个不同的提取选项,'e'和'x'.只有x重新创建了目录树 - 我被同样的Windows VM映像困住了. (5认同)