dotfiles/tools/mount-vault

10 lines
175 B
Text
Raw Normal View History

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