aboutsummaryrefslogtreecommitdiffstats
path: root/src/extract.sh
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2023-09-06 09:28:59 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2023-09-06 09:28:59 +0200
commitcbe5b609935b30765a23477afb2c8fec29a9fcdc (patch)
tree142b2f13afb2b65a8b1829c95e8ab3bfe17be919 /src/extract.sh
parent17f8148945bf5d636eb0ab2b90e3f0d1c57ecf3f (diff)
default to scanning .
Diffstat (limited to 'src/extract.sh')
-rwxr-xr-xsrc/extract.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extract.sh b/src/extract.sh
index 8cc82d4..fba12b1 100755
--- a/src/extract.sh
+++ b/src/extract.sh
@@ -2,7 +2,7 @@
set -efu
-input_dir=$1
+input_dir=${1-$PWD}
find "$input_dir" -type f | grep -Pv '/\.|~$' |
while read -r input_file; do