dots/.bin/pdftitle

4 lines
102 B
Plaintext
Raw Normal View History

2020-11-01 15:57:59 +01:00
#!/usr/bin/env bash
pdfinfo "$1" | head -n 1 | awk '{for (i=2; i<NF; i++) printf $i " "; print $NF}'