10 lines
172 B
Text
10 lines
172 B
Text
|
#!/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
|
||
|
|