9 lines
172 B
Bash
Executable file
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
|
|
|