Skip to content

Instantly share code, notes, and snippets.

@skounis
Last active March 15, 2022 06:33
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 skounis/0352a1fa7f0fd4bffa1578d11e290fa2 to your computer and use it in GitHub Desktop.
Save skounis/0352a1fa7f0fd4bffa1578d11e290fa2 to your computer and use it in GitHub Desktop.
Create a AES256 encrypted .zip file with 7 zip
# Encrypt and zip
7za a -tzip -pMY_SECRET -mem=AES256 secure.zip doc.pdf doc2.pdf doc3.pdf
# Decrypt and unzip
7za e secure.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment