summaryrefslogtreecommitdiff
path: root/pdfutils/pdf2djvu
blob: 0ea0addc938956d788c56432e0cac43047493b6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

set -eu

[ "$#" -gt 0 ] || exit 1

for i in "$@"
do
	pdf2djvu -o "$(basename "$i" .pdf)".djvu --guess-dpi "$i"
done