• Type 'zip -e archivename targetfolder' in the Terminal. The -e parameter instructs Mac OS X to create an encrypted ZIP file. The archivename parameter is the name you want your archive to have.
  • Used to be that creating an encrypted or password-protected Zip archive on a Windows machine was a breeze, but somewhere along the way on the journey from Windows XP to Win7 to Vista to 8 to Windows 10 that feature vanished.

Instructions for using the Terminal to create password protected zip files in Mac.

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. If you compress a single item, the compressed file has the name of the original item with the.zip extension. If you compress multiple items at once, the compressed file is called Archive.zip. WinZip uses the password in combination with the appropriate key to decrypt the zipped data and recreate exact byte-for-byte duplicates of the originals. Once the files have been extracted, you can create a new Zip file without applying encryption. Afterwards, you can delete the encrypted Zip file, leaving only the new, unencrypted Zip file. Download Keka for Mac. After downloading the software, you may install it just like any other app on mac. Open keka app on your Mac, go to zip tab and set your file password. After setting a password, you can drag and drop the file or folder which you wish to make a protected zip file. Note: Apart from Keka, there are more freeware apps such as.

  1. Create a Folder on the Desktop.
  2. Place the Files you wish to Zip within the folder.
  3. Select the Search Icon in the upper right corner.
  4. Search for the Terminal.
  5. Select Terminal.
  6. Enter zip -er NAMEOFZIPFILE.zip
  7. Enter a space.
  8. Drag and Drop the Folder on the desktop into the terminal.
  9. Select Enter/Return.
  10. Enter a Password.
    NOTE: It will not visually display anything to know you are typing when entering a password.
  11. Reenter the Password.
  12. Select Enter/Return.
  13. To get to the new ZIP file, select Finder then All My Files.

Did you find this article useful?

Mac

You Might Also Be Interested In

If the content of the files you are sending contains PII, PHI, HIPAA, FERPA, or any other protected information, the files MUST be encrypted prior to uploading them to the file transfer service or sending them via email.

The guides below provide steps and links to the software required to adequately encrypt your files before sharing them, as well as steps for opening encrypted files.

Windows

If you do not have 7-Zip installed on your PC you can download it here.

Zip
  1. Select the files and/folders you wish to encrypt, then right-click on one of the selected files. From the menu that appears, select 7-Zip, then select Add to archive…
  2. A 7-Zip window will open. Make the following changes to properly encrypt your file(s). See the image below for reference.
    • Archive Format: zip
    • Enter password: <choose a strong password>
    • Encryption Method: AES-256
    • Click OK to create the encrypted zip archive.

      It is important to remember the password you chose to protect this file. If the password is forgotten the data in the zip file will not be accessible.

  3. The .zip file is now encypted and can be shared via filetransfer.uvm.edu

    Never send the password to your encrypted zip file via file transfer. It is important to keep the encrypted file and password separate.Instead, send file transfer recipient(s) the password in a separate email or message.

If you do not have 7-Zip installed on your PC you can download it here.

Create

You must also know the password that was used to encrypt the files. If you do not know this password, please contact the sender.

  1. Locate the encrypted zip file, then right-click on the file. From the menu that appears, select 7-Zip, then select Extract files…
  2. A 7-Zip window will appear. Enter the password used to encrypt the file, then click OK
  3. The unzipped file will appear as a folder. The folder will be named similarly to that of the zip file, but will no longer have the .zip extension. Open the folder to access the files.

macOS

If you do not have the Keka application installed on your mac, you can download it here.

  1. Open the Keka application.
    • choose ZIP as the format type
    • Enter a strong password
    • Check the “Use AES-256 encryption” option.

      It is important to remember the password you chose to protect this file. If the password is forgotten the data in the zip file will not be accessible.

  2. Select the files and folders you wish to add to the encrypted zip archive. Then drag and drop the files to the Keka window.
  3. The .zip file is now encypted and can be shared via filetransfer.uvm.edu

    Never send the password to your encrypted zip file via file transfer. It is important to keep the encrypted file and password separate.Instead, send file transfer recipient(s) the password in a separate email or message.

Mac Os Terminal Encrypt Zip File

If you do not have the Keka application installed on your mac, you can download ithere.

You must also know the password that was used to encrypt the files. If you do not know this password, please contact the sender.

  1. Locate the encrypted zip file, then right-click on the file. From the menu that appears, select Open With, then then choose Keka
  2. Enter the encryption password, then click Done
  3. The unzipped file will appear as a folder. The folder will be named similarly to that of the zip file, but will no longer have the .zip extension. Open the folder to access the files.

Mac Create Encrypted Zip File Support

Related Articles

Mac Create Encrypted Zip

Not the solution you were looking for?Submit a Help Ticket