projects
/
pubbin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04c38e6
)
scan2pdf: default output name if blank
author
Dan White
<dan@whiteaudio.com>
Tue, 17 Mar 2020 03:58:11 +0000
(22:58 -0500)
committer
Dan White
<dan@whiteaudio.com>
Tue, 17 Mar 2020 03:58:11 +0000
(22:58 -0500)
scan2pdf
patch
|
blob
|
history
diff --git
a/scan2pdf
b/scan2pdf
index 37e3b3e517a73138458753b9ec1cef675e95de30..cde86016b6661508574932c5b8b3b0198b8da61a 100755
(executable)
--- a/
scan2pdf
+++ b/
scan2pdf
@@
-11,6
+11,10
@@
fi
INFILE="$1"
OUTFILE="$2"
+if [ "$OUTFILE" = "" ]; then
+ OUTFILE=${INFILE}.pdf
+fi
+
convert \
-density 300 \