# Install homebrew if you don't have it, see https://brew.sh/ # # Then use brew to install p7zip brew install p7zip # Zip with no compression, just a password. 7z a -p'myPassword!!' -tzip -mem=AES256 -mm=Copy -mx=0 -mmt=8 ~/Desktop/myStuff.zip ~/Desktop/myFolder # if you want to test, delete ~/Desktop/myFolder # Unzip with a password. 7z x ~/Desktop/myStuff.zip -p'myPassword!!' open myFolder