I've simplified the name to "ecryptfs-find", and allowed it to take either an encrypted, or a plaintext filename. It then does its best to guess the direction you're trying to map, and find the right mountpoint. None of these are perfect, but if it's right 98% of the time, I'm quite happy ;-)
I've retained your name as an author, Sergio.
I'd be interested to see what you think. I've committed it to lp:ecryptfs, though I haven't released yet.
I have reworked the script a bit differently.
I've simplified the name to "ecryptfs-find", and allowed it to take either an encrypted, or a plaintext filename. It then does its best to guess the direction you're trying to map, and find the right mountpoint. None of these are perfect, but if it's right 98% of the time, I'm quite happy ;-)
I've retained your name as an author, Sergio.
I'd be interested to see what you think. I've committed it to lp:ecryptfs, though I haven't released yet.