dotfiles/tools/mount-vault
2016-10-07 22:46:23 +02:00

9 lines
172 B
Bash
Executable file

#!/bin/bash
set -e
echo "decrypting..."
gpg2 -d ~/Nextcloud/vault.tar.xz.gpg > ~/.vault.tar.xz
echo "mounting..."
mkdir -p ~/.vault
archivemount ~/.vault.tar.xz ~/.vault