Video tip: How to password-protect zip files in macOS Sierra

In today's video tip, we'll show you how to use the macOS Sierra Terminal app (found in Applications > Utilities) to password-protect zip files. Zip files can be easily created without password protection in macOS Sierra by simply right-clicking a file or folder, then selecting "Compress". If you want to make sure that only people with the correct password can open a zip file, follow the instructions in this video:

The command for zipping and password-protecting a folder is:

zip -er [path and name of zipped file] [path and name of folder to be zipped]

The Terminal command for zipping and password-protecting a single file is:

zip -e [path and name of zipped file] [path and name of file to be zipped]

Unzipping is as easy as double-clicking the zipped file and entering in the correct password.

Be sure to subscribe to our YouTube channel as we start adding new content.