Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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