How to encypt file or directory in linux, freebsd & os x

gpg-logo


Another short tip. The below demonstrate how to encrypt and decrypt files & folders on Mac OS X, Linux & FreeBSD using GnuPG :




encrypt :

gpg -c <file or folder>

e.g.

gpg -c plain-file-or-folder-name

Key in the password to lock the file

(This will create another file with .gpg extension and the original file or folder will still be around.)


decrypt :

gpg <file name with .gpg extension>

e.g.

gpg plain-file-or-folder-name.gpg

Key in the password to unlock the file


Ciao !!!

More post - related

Please sponsor my coffee if you find my posts worth reading, thanks!

One Trackback

  1. By encrypt folders - StartTags.com on February 6, 2010 at 15:28

    [...] … I tried encrypting a folder with some files in it and I got a message saying that its not …How to encypt file or directory in linux, freebsd & os x …Another short tip. The below demonstrate how to encrypt and decrypt files & folders on Mac OS X, [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*
-->
Improve the web with Nofollow Reciprocity.