

Double click on the zip file to open using the password you have set.After confirmation, you could find the protected zip file on the same destination.Type the password to protect the file/folders and hit enter.Enter the following command: zip -er FilnameYouWant.zip FileORFolderNameToCompress.Type and enter ls to see the files and folders containing in the location.Change the terminal directory to the location of the newly created folder.After opening the terminal enter the following commands.Open Spotlight and search for “ Terminal.”.Now, move all your confidential data into the folder you want to lock.On your Mac, create the folder on any location.
