小编Kie*_*ran的帖子

从命令行解压缩多部分 Zip

预先感谢您的任何帮助。我正在尝试从 OSX 10.8.5 中的命令行解压缩多部分 zip 文件。

我使用创建了zipzip -s 800m foo.zip foo.mov

文件大小foo.mov为2.7GB。所以我有这些文件:foo.zip, foo.z01, foo.z02, foo.z03.

我尝试使用zip -s 0 foo.zip -O foo_unsplit.zip,但 foo_unsplit.zip 只有 1.6GB,并且在与 unzip 一起使用时出现以下错误。

error:  invalid compressed data to inflate
Run Code Online (Sandbox Code Playgroud)

我也尝试使用cat Heritage.zip Heritage.z01 Heritage.z02 Heritage.z03 > Heritage_unsplit.zip但解压缩结果文件给出以下结果:

unzip Heritage_unsplit.zip 
Archive:  Heritage_unsplit.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 …
Run Code Online (Sandbox Code Playgroud)

zip terminal macos

6
推荐指数
1
解决办法
7523
查看次数

标签 统计

macos ×1

terminal ×1

zip ×1