Skip to content

Instantly share code, notes, and snippets.

@jgrodziski
Created December 25, 2013 23:01
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 jgrodziski/8127764 to your computer and use it in GitHub Desktop.
Save jgrodziski/8127764 to your computer and use it in GitHub Desktop.
encrypt a folder to an image
echo -n "password" | hdiutil create -encryption -stdinpass -srcfolder GYB-GMail-Backup-jeremie@grodziski.com encrypted.dmg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment