Rotate

Rotate selected pages of inFile clockwise by a multiple of 90 degrees. Have a look at some examples.

Usage

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

Flags

flagdescriptionrequiredvalues
verboseturn on loggingno
vvverbose loggingno
pagespage selectionnoall pages
upwuser passwordno
opwowner passwordno

Arguments

namedescriptionrequiredvalues
inFilePDF input fileyes
rotationrotation angleyes-270, -180, -90, 90, 180, 270

Examples

Rotate all pages of a PDF file clockwise by 90 degrees:

  1. pdfcpu rotate test.pdf 90

Rotate the first two pages counter clockwise by 90 degrees:

  1. pdfcpu rotate -pages 1-2 test.pdf -90