c9186c8722
* Move vault to veracrypt * Remove broken switch (windows does not support)
10 lines
247 B
Bash
Executable file
10 lines
247 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
mkdir -p ~/.vault
|
|
VERACRYPT="veracrypt"
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
VERACRYPT="/Applications/VeraCrypt.app/Contents/MacOS/VeraCrypt"
|
|
fi
|
|
$VERACRYPT -t --mount ~/vaults/vault.vera ~/.vault
|
|
sudo chown $USER ~/.vault
|