Password protected zip in MAC

Open the terminal and type this:
Noradilas-MacBook-Pro:$ zip -er Submission.zip Submission

You don’t need to zip (compress) it beforehand. Type the above, it will do everything. It will then, prompt for password, enter whatever password you want to use, retype and that’s all
Enter password:
Verify password:
adding: Submission/ (stored 0%)
adding: Submission/.DS_Store (deflated 93%)
adding: Submission/Group 5/ (stored 0%)

Leave a comment