aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2023-09-06 09:26:40 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2023-09-06 09:26:40 +0200
commit17f8148945bf5d636eb0ab2b90e3f0d1c57ecf3f (patch)
tree84752a728935c33b8e584fe932daf8eecafeb282 /src
parentd1ee2f07e54f8e037b192e428e12b08914f3610f (diff)
ignore hidden and backup files
Diffstat (limited to 'src')
-rwxr-xr-xsrc/extract.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extract.sh b/src/extract.sh
index 6b2f109..8cc82d4 100755
--- a/src/extract.sh
+++ b/src/extract.sh
@@ -4,7 +4,7 @@ set -efu
input_dir=$1
-find "$input_dir" -type f |
+find "$input_dir" -type f | grep -Pv '/\.|~$' |
while read -r input_file; do
ext=
case $input_file in