Skip to content

Instantly share code, notes, and snippets.

@unobatbayar
unobatbayar / encrypt.sh
Last active March 22, 2022 01:47
Encrypt files on Mac
View encrypt.sh
# 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