Skip to content

Instantly share code, notes, and snippets.

@unobatbayar
Last active March 22, 2022 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unobatbayar/9613dc47e90f5eb9eb70fe1ed0adf71a to your computer and use it in GitHub Desktop.
Save unobatbayar/9613dc47e90f5eb9eb70fe1ed0adf71a to your computer and use it in GitHub Desktop.
Encrypt files on Mac
# Replace the output and file name
# Assuming you are in the same directory of the file to encrypt
zip -er OUTPUTNAME.zip FILENAME.txt
# You will be prompted to enter password for decryption
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment