We've all been there, counting the number of slides desperately the night before exam 😁.
pdf-page-count is a nifty little script that does this for you.
pip install pdf-page-counter
- Python 2.7
- pip
- Linux (Windows fix coming soon!)
- Displays the number of pages in all the pdfs in the current directory (only top level)
pdf-page-counter
- Displays the number of pages in all the pdfs in the current directory and its subdirectories
pdf-page-counter -r
- Displays the number of pages in all the pdfs in the /path/to/folder
pdf-page-counter /path/to/folder
- Displays the number of pages in all the pdfs from multiple folders
pdf-page-counter /path/to/folder_one /path/to/folder_two