Jump to content

Open Club  ·  2 members


Create password protected zip files on Mac


Recommended Posts

Here are some quick and easy instructions to follow if your goal is to create a password protected zip file.  The command is the same regardless if you are zipping up a file or a folder with all contents under that folder.password-protect-zipfile.png.9708f6365f470dca78a36ec0b8b99cc6.png

Its important that you have enough space on your hard drive available for how big the folder or file is that you are trying to zip.  You can right click on the folder or file and select Get Info and that will tell you how much space you need roughly.  If you run out of space on your Hard Drive for the zip file you are trying to create.. while zipping the file(s) you will eventually get an error message: 

zip I/O error: No space left on device
zip error: Output file write failure (write error on zip file)

Oh yes, I get this one often because I typically never check but if I did I wouldn't of wasted over an hour for a large zip file to complete.

In order to begin you must open Terminal and browse to where you would like to store the zip file.

Next you simply run: zip -er Documents_20231010.zip /Users/shadowmac/Documents/

In the above example I am zipping up my Documents folder and everything underneath it into a password protected file called Documents_20231010.zip

After you run the command you will be prompted twice for the password you would like to use to protect your file.

Link to comment
Share on other sites


  • Your IP Address:
  • Who's Online

    1 Guest

    There are no registered users currently online

  • Create New...

Important Information

Privacy Policy