How can I give a password to a zip file on Mac OS X without downloading any additional program?
If you put the files you'd like to protect in a zip file, you can then apply a password. In Windows Explorer, highlight and right-click on the files you would like to put into a zipped file. Select Send to, then Zip folder (compressed). Double-click the zipped file, then select File and Add Password.
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:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With