Ever wonder how to create password protected zip file in Mac. I know there are many paid tools to create password protected zip in Mac. But i wan a free solution that can create password protected zip file in Mac!
To create password protected zip file in Mac, follow the steps below:-
Advertisements
- Go to Finder -> Application -> Terminal
- now change directory to the plance you wan to zip and enter the command below:-
$ zip -e myzipfile.zip file1.txt file2.txt
- Once you enter the command, system will prompt you for password twice. Just enter the password you wish to set, and it’s done!
- You should see myzipfile.zip appear in the directory.
** Default Archive Utility cant open password protected zip file. Refer to my How to open password protected zip file in Mac post.
- Done. You just created a password protected zip file in Mac OS X
* If you cant create the password protected zip file, most of the time your zip utility doesn’t support encryption. Try to upgrade your zip utility and everything will work fine.
Related posts:
How to split compressed file into smaller files in Linux / Mac
How to resize image in Mac OS X
How to delete all .svn folder in Linux / Mac?
How to create zip file in Mac OS X
Mac: how to disable print screen window shadow
How to remove email from suggestion list in Apple Mail
How to open wmv file in Mac OS X
How to clear print queue in Mac?
Share this with your friends:-
Hi Jonny, if you want to unzip archives with password, u can follow the link below:-
http://www.techiecorner.com/833/how-to-open-password-protected-zip-in-mac-os-x/
Mac OS X 10.7 (Lion) does support unzipping archives with passwords
Yes, it does work.
The error people are reporting when it comes to unzipping is exactly as niccolo says. The default Mac Archive Utility cannot handle the decryption process.
One option is to use the free version of StuffIt Expander as niccolo suggests.
The other option is to decrypt it from the command line using this command:
unzip myzipfile.zip
It will prompt you for the passphrase at that time.
great … it works ..
Good answer congratulations
As they say above, the zip command works (prompts for the password, saves the zip). But when you try to unzip it from the file manager outside the terminal, it errors out: “Unable to unarchive (file name)” (Error 1 – Operation not permitted).
thanks, it works well.
only problem is that the default unarchiver for the osx system does not give a prompt for the password, it just says that it cannot open the archive because it has no permission.
stuffit expander, on the other hand, prompts for the password and unzips just fine.
thanks a lot
It does not work!!!
Encryption is not supported… see the errore message:
zip error: Invalid command arguments (encryption not supported)