hunter/extra/previewers/pdf

6 lines
123 B
Bash
Executable File

#!/bin/sh
pdftotext -l 10 -layout -nopgbrk -q "${1}" -||
mutool draw -F txt -i -- "${1}" ||
exiftool "${1}" 2> /dev/null