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