Today I set up an EncFS volume and I want to automate it as much as possible. I discovered that I can pass the password via stdin with the -S switch:

echo sekret | encfs -S ~/encrypted JC /Volumes/encrypted

In addition to that I want to pass additional parameters to MacFUSE like the volume name:

encfs ~/encrypted /Volumes/encrypted -- -o volname=Encrypted

The combination of both colides. Is there a way to specify MacFUSE options and to pass the parameter from stdin?

link|improve this question
feedback

1 Answer

up vote 2 down vote accepted

Just pass the -o argument without passing -- first, i.e.

echo sekret | encfs -S ~/encrypted /Volumes/encrypted -o volname=Encrypted

will do the trick.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.