Skip to content

Instantly share code, notes, and snippets.

@codebrane
Created November 7, 2012 15:17
Show Gist options
  • Save codebrane/4032196 to your computer and use it in GitHub Desktop.
Save codebrane/4032196 to your computer and use it in GitHub Desktop.
Unmounting TrueCrypt volumes from the commandline on OS X
clear
printf "unmounting /Volumes/APPSDEV\n"
/Applications/TrueCrypt.app/Contents/MacOS/TrueCrypt -t -d /Volumes/APPSDEV
printf "unmounting /Volumes/CONFIGLOCAL\n"
/Applications/TrueCrypt.app/Contents/MacOS/TrueCrypt -t -d /Volumes/CONFIGLOCAL
printf "unmounting /Volumes/SCRIPTS\n"
/Applications/TrueCrypt.app/Contents/MacOS/TrueCrypt -t -d /Volumes/SCRIPTS
printf "unmounting /Volumes/SSHKEYS\n"
/Applications/TrueCrypt.app/Contents/MacOS/TrueCrypt -t -d /Volumes/SSHKEYS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment