pdfcpu

Logo

A PDF processor written in Go.

View the Project on GitHub pdfcpu/pdfcpu


Changelog

Collect

Usage

pdfcpu collect inFile [outFile] --pages

Flags

namedescriptionrequired
p(ages)selected pagesyes

Common Flags


Arguments

namedescriptionrequireddefault
inFilePDF input fileyes
outFilePDF output filenoinFile

Examples

Create a custom page collection from in.pdf and write the result to out.pdf. Begin with 3 instances of page 1 then append the rest of the file excluding the last page:

$ pdfcpu collect in.pdf out.pdf --pages 1,1,1,2-l-1 
writing sequ.pdf ...