Create a zip file with MacOS
Mac OS already allows you to crete simple zip files (left-click / Compress),
Adding a password to a zip file
Here’s how to add password to your new zip file :
- Launch the Terminal utility.
- Enter the following code :
- zip -er name-of-the-new-file-that-you-want-to-create.zip (drag’n drop the zip file to protect) [Entrée]
- then enter the wanted password the twice times where it’ll be asked.
Here it is, the new protected file will be created by default at your user name root in the Finder.