1. 我是皮皮虾首页
  2. 网站部署

unzip解压失败( cannot find zipfile directory)

复现

$ unzip test.zip

Archive: test.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 test.zip or
test.zip.zip, and cannot find test.zip.ZIP, period.

原因

unzip默认解压大小小于2G

安装7za

wget --no-cookie --no-check-certificate https://jaist.dl.sourceforge.net/project/p7zip/p7zip/16.02/p7zip_16.02_src_all.tar.bz2

tar -jxvf p7zip_16.02_src_all.tar.bz2
cd p7zip_16.02
sudo make && make install

执行解压命令:
7za x test.zip

原创文章,作者:站长,如若转载,请注明出处:https://wsppx.cn/1391/%e7%bd%91%e7%ab%99%e9%83%a8%e7%bd%b2/

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注