How do I split the PDF file into individual pages and output it to a specific target using filename?
Issue
- Does RHEL contain a command line software that will allow one to batch process PDF files with actions like splitting them in to individual pages?
For example, consider the following scenario ...
/server/path/my_pdfs/
The PDFs are named:
abc.pdf
123.pdf
xyz.pdf
- The goal is to take each pdf, split it into individual pages and output it to a specific target path using the file name:
/server/path/output/abc/abc.p1.pdf
/server/path/output/abc/abc.p2.pdf
/server/path/output/123/123.p1.pdf
/server/path/output/123/123.p2.pdf
/server/path/output/123/123.p3.pdf
/server/path/output/xyz/xyz.p1.pdf
/server/path/output/xyz/xyz.p2.pdf
/server/path/output/xyz/xyz.p3.pdf
/server/path/output/xyz/xyz.p4.pdf
Environment
- Red Hat Enterprise Linux 5.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.