How can execute veracrypt on the command line in OS X?
According to the Veracrypt documentation there should be a command
veracrypt but it was not found.
Any advice ?
The command is
You need to setup a symbolic link named 'veracrypt' to the executable. The following will work in a terminal:
mkdir -p ~/bin ; # <<-- if it doesn't exist already ln -s /Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt ~/bin/veracrypt
You can then invoke it to get help with (the -t is for text-only mode):
PATH="$HOME/bin:$PATH" ; # <<-- if not already on your search path veracrypt -t -h
you should append
--text parameter to
To simplify usage, I add this to my .bash_profile:
Then I can execute the app on the command line:
$VC --mount /path/to/container
Can also define an alias to mount the container:
alias mc="$VC --mount /path/to/container"