


Setting Password for documents, like Pages, Keynote If you still face any issue, please comment below, and you would get a reply as soon as we can. Screenshot of Zipping a File with Password Screenshot of Zipping a Folder with password Use this command in case of File zip -e DesiredFileName.zip FileName.Once you are there, type command to zip a folder with password zip -er DesiredFileName.zip FolderName.It could be cd Desktop OR cd Documents Or cd Movies, and so on… type cd FolderName (FolderName is the name of the folder/location where you have put the folder that you want to zip).

It looks like this in my case Zoheb:~ Zoheb$ By default, you should be on Home Folder. Go to the folder where your target file is.Launch terminal (From Application –> Utility.For example, MyDocument folder is located under Documents folder, then create the ZIP file under Documents folder as well. In this case, you need to create password protected ZIP File under the same path where your source file is. So this is not what you want, do you? Just the target folder should be zipped, not the folders under empty folders. However, when you open the zip file with password, target folder would be located like Users –> UserName –> Desktop –> TargetFolder Once you Press Enter, it will ask for the password and then ask to confirm (password won’t show in the terminal when you type), now press Enter again, and it should be done if you have not made any error. Zip -er ~/Desktop/Archive.zip/ ~/Documents/Smartphones/ How to set password to Protect a ZIP file on Mac OS X using terminalįor example: If you are zipping a folder (folder name : Smartphones) from Documents folder, and want the output on Desktop as Archive.zip. You can share such files even on the internet, but only those can open who know the password. Today we will know how to set the password to protect a ZIP file and documents on Mac OS X without any additional app.

However, that ZIP file can be opened by anyone. Making a ZIP file on MacBook or iMac is very easy Just put the multiple files in one folder, right-click on the folder, and click Compress.
