Decompress password protected zip file
Problem
Sometimes decompressing password protected zip file with unzip failed with the following prompt
unsupported compression method 99
Solution
On MacOS, could install p7zip
with brew
brew install p7zip
On Linux Debian/Ubuntu
sudo apt-get install p7zip-full
and retry with 7z
command
7z x archive.zip -pYOURPASSWORD
Disclaimer
- License under
CC BY-NC 4.0
- Copyright issue feedback
me#imzye.me
, replace # with @ - Not all the commands and scripts are tested in production environment, use at your own risk
- No privacy information is collected here