dotfiles/scripts/pdfpages
Geoffrey Frogeye f9849dfcfa PTT
Push To Talk
Postes, Télégraphes et Téléphones
Petit Travail Tranquille
2018-10-25 22:35:02 +02:00

9 lines
173 B
Bash
Executable file

#!/usr/bin/bash
# From https://stackoverflow.com/a/14736593
for FILE in $*
do
printf "$FILE: "
pdftk "$FILE" dump_data | grep NumberOfPages | awk '{print $2}'
done