Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.