From 17f8148945bf5d636eb0ab2b90e3f0d1c57ecf3f Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Wed, 6 Sep 2023 09:26:40 +0200 Subject: ignore hidden and backup files --- src/extract.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3