This commit is contained in:
2025-05-02 22:22:10 +00:00
commit 51c616f9f0
52 changed files with 2934 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
if [ -z "$PASSPHRASE" ]; then
read -srp "Password: " PASSPHRASE
echo
fi
export PASSPHRASE
bash ~/.local/bin/alg/file-tree-apply.sh "$1" "$2" '*.gpg' \
'if [ ! -f "$2" ]; then gpg --decrypt "$1" | gpg --symmetric --output "$2" --passphrase "$PASSPHRASE" --batch --yes; fi'
echo ok