linux下带密码zip无法解压处理笔记

《linux下带密码zip无法解压处理笔记》

起因:在linux下对加密码的zip包进行解压,会出现“unsupported compression method 99”的错误,原因可能是这些压缩包是使用 AES 加密,对 unzip 来说是新 method 所以不支持,百度了大量的资料,这时候只能用其他支持的工具来解开,如 7z(7zip) ,7z应该是zip的升级版

//下面的方法不行,报unsupported compression method 99的错误
# unzip -P password file.zip

安装7z

# yum -y install p7zip

使用

# 7za x  file.7z 
点赞

发表评论

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