Instantly share code, notes, and snippets.

Embed
What would you like to do?
pdftk "${file}" dump_data | grep NumberOfPages | awk '{print $2}' | tr -dc '[0-9]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment