![]() Please share this with your friends on social media. Hope you will find this tutorial helpful. Follow the on-screen instructions and create a password. To unzip the encrypted zip file all you have to do is double-click on the zip file and it will prompt you to enter the password that was used for encryption.Įnter a valid password and it will successfully decrypt and unzip the zip file for you.ĭANGER If you forget the password then you will be unable to extract the files. Right-click the file you want to send and select Create Password Protected File. Re-type the password and it will create a zip file for you. Next, it will prompt you to verify the password that you have entered. It will prompt you to enter a password to encrypt the file. pwd is the password used to decrypt encrypted ZIP files. I will name my zip file as TOPSECRET.zip. Most users of the zipfile module will not need to create these. I will go ahead and create an encrypted zip file using the TopSecret folder that is on my Desktop. The -er option will create an encrypted zip file using the source folder and its content. SOURCE_FILENAME is the name of your folder that you want to zip. Where, zip is the command to create zip files.ĭESTINATION_FILENAME is the name that you want to give to your zip file. $ zip -er DESTINATION_FILENAME.zip SOURCE_FILENAME To encrypt a folder we have to type the following command in Terminal. I have my confidential folder (name: TopSecret) on my Desktop so I will go to Desktop by typing the following command in the Terminal Now go inside the folder (directory) in which you have the confidential folder that you want to encrypt. Or, you can go to Finder then click on Applications then go inside the Utilities folder and select Terminal. Press Cmd + Space key and it will open Spotlight. This way only authorized persons who have the password can unzip the encrypted zip file.Īlright, let's go ahead and create an encrypted zip file. To protect the zip file from prying eyes and unauthorized access you can encrypt the zip file using a strong password. Moreover, anyone can unzip that file and access your confidential content. If you compress multiple items at once, the compressed file is called Archive.zip. ![]() ![]() If you compress a single item, the compressed file has the name of the original item with the. Let's say you have a folder containing some confidential files and you want to create a zip file that is password protected and encrypted.Ĭreating a plain zip file is not wise as it provides no extra security. On your Mac, do any of the following: Compress a file or folder: Control-click it or tap it using two fingers, then choose Compress from the shortcut menu. In this tutorial we will learn to create password protected and encrypted zip file using the Terminal. ![]()
0 Comments
Leave a Reply. |