8 [[ $# -eq 1 ]] || die "this script takes exactly one argument: the name of a pdf"
10 INPUT_BASE=${INPUT%.pdf}
11 [[ -f "${INPUT}" ]] || die "input file ${INPUT} does not exist."
15 exec qpdf -password="${PASSWORD}" -decrypt "${INPUT}" "${INPUT_BASE}.decrypted.pdf"