dotfiles/tools/umount-vault

9 lines
131 B
Text
Raw Normal View History

#!/bin/bash
set -e
umount ~/.vault
gpg2 -c ~/.vault.tar.xz
mv ~/.vault.tar.xz.gpg ~/Nextcloud/vault.tar.xz.gpg
rm -vfr ~/.vault*