Bash Script to Mount encfs encrypted folder

  • Thread starter Thread starter jmadero
  • Start date Start date
J

jmadero

Hi All,

I finally got around to making a sweet rsync + encfs setup where the encrypted folder is shared between several devices and I can then mount it on each machine via command line and encfs. Seems to work fine.

Next step is to create a script that I can just double click and it will pop up and just prompt for the password. I want to make it as simple as possible for my wife to be able to mount the encrypted drive (without automounting on boot ;) ). The folder contains a very limited number of things but they are encrypted for a reason.

I tried:

Code:
#!/bin/bash

terminal -e encfs ~/Public/.encrypted ~/Public/visible
but it never prompts for a password so no mount occurs. Terminal opens and then closes immediately.

Thanks in advance

Continue reading...
 
Back
Top