Question

How to give a password to a zip file on Mac OS X

How can I give a password to a zip file on Mac OS X without downloading any additional program?

 46  37579  46
1 Jan 1970

Solution

 90

I found the solution.

Go to Terminal and type

zip -er (zipfile's name).zip (File path)

Enter password: (your password)

Verify password: (type it again)

press enter. That's it. It will be saved to your main folder. You have a passworded zip file now.

2017-11-14

Solution

 17

Add password for an existing zip file:

zipcloak file.zip

Limitations listed in man zipcloak for v3.0:

  • zipcloak uses original zip encryption which is considered weak.
  • Large files (> 2 GB) and large archives not yet supported.
2019-05-18