create a folder on your computer and type
Code:
sudo mount -t ecryptfs /path/to/folder /path/to/folder
you saw me right, repeat the path twice.
after that, it gives you a couple of encryption options. make sure that you remember these for the next time you try to mount it.
enter in your password and hit enter, the drive should now be mounted. copy your files, when you want to lock the dir type
Code:
sudo umount /path/to/folder
The files should now be encrypted and unreadable. When you want to re-mount it, just re-type the first command. Cheers!!
Oh, and if you don't have ecryptfs installed (which you should if your version is later that 8.10), you can install it by typing
Code:
sudo apt-get install ecryptfs-utils
Bookmarks