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

8 lines
131 B
Bash
Executable file

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