TrueCrypt with filled in Volume combo box

For those of you like me who use TrueCrypt on Mac OS X, a few more quick tips I’ve picked up.

Use encrypted volumes from the Terminal

Assuming /usr/local/bin is in your $PATH and TrueCrypt is installed in /Applications:

% cd /Applications/TrueCrypt.app/Contents/MacOS
# ln -s TrueCrypt /usr/local/bin/tc

Now you can mount and unmount volumes without fuss:

% tc [volume]
% tc -d [volume]

I suppose instead you could create an alias in your shell config file for tc to point to the full TrueCrypt application path, but the above will work from any user account.

Launch TrueCrypt GUI from the Terminal

This will launch the TrueCrypt graphical application with the complete path of the volume you want to mount conveniently entered into Volume combo box. You'll still need to choose a volume slot and click the Mount button.

% open -a TrueCrypt [volume]

Explain yourself

Unlike Windows and most other *nix systems that spray required files all over the place, applications in Mac OS X are generally distributed in self contained packages which makes them easy to install and run from the Finder. From the Terminal, the true executables you’re interested in are located in the application’s ./Contents/MacOS/ folder, such as TrueCrypt.