diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-09-06 09:26:40 +0200 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2023-09-06 09:26:40 +0200 |
commit | 17f8148945bf5d636eb0ab2b90e3f0d1c57ecf3f (patch) | |
tree | 84752a728935c33b8e584fe932daf8eecafeb282 | |
parent | d1ee2f07e54f8e037b192e428e12b08914f3610f (diff) |
ignore hidden and backup files
-rwxr-xr-x | src/extract.sh | 2 |
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 |