Remove Pages

This command removes all selected pages from a PDF file.Have a look at some examples.

Usage

  1. pdfcpu pages remove [-v(erbose)|vv] -pages pageSelection [-upw userpw] [-opw ownerpw] inFile [outFile]

Flags

namedescriptionrequired
verboseturn on loggingno
vvverbose loggingno
pagespage selectionyes
upwuser passwordno
opwowner passwordno

Arguments

namedescriptionrequired
inFilePDF input fileyes
outFile…PDF output fileno

Examples

Remove pages 1-3 and 5 from notes.pdf:

  1. pdfcpu pag rem -pages 1-3,5 notes.pdf
  2. removing pages from notes.pdf ...
  3. writing notes_new.pdf ...