Skip to content

Instantly share code, notes, and snippets.

@davoam
Last active August 9, 2018 08:55
Show Gist options
  • Save davoam/f145f68f037eae08c23037f1822686eb to your computer and use it in GitHub Desktop.
Save davoam/f145f68f037eae08c23037f1822686eb to your computer and use it in GitHub Desktop.
zip -e [archive] [file]
# zip will not encrypt filenames so they will be visible.
zip -er [archive] [folder]
# rar command to encrypt everything including filenames
rar a -hp[password] data.rar data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment