Split

Split pages from one PDF into one or more new PDFs. The page range can

Options

java tool.pdf.Split [options] PDF-filename
The split version of the PDF is named with -x appended to the original file name.

Examples

1. Subset the first 20 pages and three copies of the last.

% java tool.pdf.Split -page 1-20,last,last,last contract.pdf

2. Rearrange pages to all odd followed by all even.

% java tool.pdf.Split -page odd,even for-non-duplex-copier.pdf

3. Delete page 5.

% java tool.pdf.Split -page 1-4,5-end contract.pdf

4. Insert blank page after cover page.

% java tool.pdf.Split -page 1,0,2-end report.pdf

5. Split page ranges into multiple PDFs by separating ranges with semicolons.

% java tool.pdf.Split -page '1-12;13-20;21-end' book-with-chapters.pdf