I'd like to have something that will listen on inotify for /media/ directory and everytime the inotify is received it will scan for /media/*/*/.encfs* files and if it will found such file (eg.: /media/USBdrive/.private/.encfs6.xml) it will mount it (eg.: as /media/USBdrive-private) using GTK dialog to ask for password.
I'd like to have something that will listen on inotify for /media/ directory and everytime the inotify is received it will scan for
/media/*/*/.encfs*
files and if it will found such file (eg.:/media/USBdrive/.private/.encfs6.xml
) it will mount it (eg.: as/media/USBdrive-private
) using GTK dialog to ask for password.