]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - sensitive
Update karabiner
[rbdr/dotfiles] / sensitive
... / ...
CommitLineData
1#!/usr/bin/env bash
2
3sensitive_files=("config/aerc/accounts.conf")
4
5if [[ "$1" == "update" ]]; then
6 echo "Updating"
7 for sensitive_file in $sensitive_files; do
8 gpg --output $sensitive_file.gpg --encrypt --recipient ruben@unlimited.pizza $sensitive_file
9 done
10else
11 echo "Decrypting"
12 for sensitive_file in $sensitive_files; do
13 gpg --output $sensitive_file --decrypt $sensitive_file.gpg
14 done
15fi