unzip报错- zipfile claims to be last disk of a multi-part archive
2022年5月18日小于 1 分钟
上一级页面:index-la
使用命令
cat A_Learning.z* > b.zip
结果报错
(attempting to process anyway)
warning [b.zip]: zipfile claims to be last disk of a multi-part archive;
attempting to process anyway, assuming all parts have been concatenated
together in order. Expect "errors" and warnings...true multi-part support
doesn't exist yet (coming soon).
warning [b.zip]: 1048576000 extra bytes at beginning or within zipfile
(attempting to process anyway)
file #1: bad zipfile offset (local header sig): 1048576004
(attempting to re-compensate)
creating: A_Learning/
error: invalid zip file with overlapped components (possible zip bomb)
警告[b.zip]
:zipfile 声称是多部分存档的最后一个磁盘; 无论如何都尝试处理,假设所有部分都已连接
意思是错误的zip头
正确的解压方法
找到zip头A_Learning.zip
对zip头作修复处理,结果输出为full.zip
zip -F A_Learning.zip --out full.zip
正常解压
unzip full.zip