Skip to content

Instantly share code, notes, and snippets.

@DevoKun
Created March 6, 2019 13:41
Show Gist options
  • Save DevoKun/5b68c501d7f20f306ff43039e497cb71 to your computer and use it in GitHub Desktop.
Save DevoKun/5b68c501d7f20f306ff43039e497cb71 to your computer and use it in GitHub Desktop.
7zip to encrypt a zip file
##
## I choose *zip* in the hopes that the recipient already
## has a local zip tool that supports the encryption
## and does not need to download 7zip.
##
7za a -mem=AES -p${PASSWORD} -tzip \
devon_password.txt.zip \
devon_password.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment