commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
It seems to completely void the benefit of having an encrypted folder if you then have a script on your unencrypted hard drive with your password in it. This command will mount a truecrypt file at a given mount point after asking you for the password.
There are 3 alternatives - vote for the best!
This is useful for use in scripts.
Note that this will leak your password to ps, so this shouldn't be used on shared machines. Use key files for this
If you can do better, submit your command here.
You must be signed in to comment.