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

Viewed 33511

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

2 Answers

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.

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.
Related