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