diff options
Diffstat (limited to '.local/bin/update-agefiles')
-rwxr-xr-x | .local/bin/update-agefiles | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.local/bin/update-agefiles b/.local/bin/update-agefiles new file mode 100755 index 0000000..7b3708f --- /dev/null +++ b/.local/bin/update-agefiles @@ -0,0 +1,12 @@ +#!/bin/bash +set -e + +cd + +IFS='' +find . -not -path '*/.*' -path '*.git' -type d | +while read -r git_dir; do + pushd "$git_dir" + ~/git-hooks/post-receive.agefile + popd >/dev/null +done |