Many digital documents are stored in PDF format. There are sometimes requirements for removing some pages of a PDF. You can use PDF Page Remover Command Line to remove pages of a PDF with simple commands and without high economic cost.
PDF Page Remover Command Line can remove specified pages of one and more PDF files in one command line. You can also remove pages in multiple page ranges of multiple PDF files in one command line.
PDF Page Remover Command Line has three versions for Windows, Mac OS and Linux. The three programs of the three versions have the same functions and options. You can understand the usages of the other two versions after learning one of the programs of the three versions.
The following paragraphs are about removing pages of PDF using the Windows version PDF Page Remover Command Line. Download the package of the Windows version, and then unpack it to your Windows system. The executable file is in sub directory bin. You can open a Windows command prompt window to run it.
A command line for removing pages of PDF is as follow
pdftoolbox full.pdf -merge 1-11 14-end -outfile rem.pdf
This command line will retain pages from 1 to 11 and from 14 to the last of input PDF full.pdf and save these pages to file rem.pdf. This means that page 12 and 13 of PDF full.pdf are removed in the new PDF rem.pdf.
If you need to remove pages from three PDF files, you can use the following command line
pdftoolbox A=in1.pdf B=in2.pdf C=in3.pdf -merge A1-12 A14-end B3-end C1-15 -outfile out.pdf
In the commands, A, B and C is assigned to represent input file in1.pdf, in2.pdf and in3.pdf, respectively. The command line removes page 13 of file A (in1.pdf), pages from 1 to 2 of file B (in2.pdf) and pages from 16 to the last of file C (in3.pdf). The retained pages are the saved in one single PDF out.pdf.
You can learn more usage of PDF Page Remover Command Line from those examples located in sub directory test, or click the following link to see the
Features of PDF Page Remover Command Line.