Few quick Mac Terminal TrueCrypt tips
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
/usr/local/bin is in your $PATH and TrueCrypt is installed in
% 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]
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.