Manipulating PDFs from the Unix Command Line
The Poppler utilities provide many Unix command-line tools for manipulating PDFs. Install via:
sudo apt-get install poppler-utils(Ubuntu)sudo apk add poppler-utils(Alpine)brew install poppler(macOS)
Extract Text from a PDF
1 | |
Merge PDFs Together
1 | |
Split (Extract) Pages from a PDF
This will split each page of input.pdf to output_1.pdf, output_2.pdf, etc.
1 | |
Manipulating PDFs from the Unix Command Line
https://jifengwu2k.github.io/2025/08/27/Manipulating-PDFs-from-the-Unix-Command-Line/