Say we have a directory myStuff in our $HOME and we want
to encrypt it and use it to store sensitive information.
Run:
encfs $HOME/myStuff $HOME/myEncryptedStuff
This will prompt you to answer few questions for the encryption.
The directory
myEncryptedStuff
will be used as mount point to the encrypted directory
myStuff
To unmount the encrypted directory, run:
fusermount -u $HOME/myEncryptedStuff
To remount it, run:
encfs $HOME/myStuff $HOME/myEncryptedStuff
To change password for the encryption, have the directory unmounted and run:
encfsctl passwd $HOME/myStuff