Rotate
Rotate selected pages of inFile
clockwise by a multiple of 90 degrees. Have a look at some examples.
Usage
pdfcpu rotate [-v(erbose)|vv] [-pages pageSelection] [-upw userpw] [-opw ownerpw] inFile rotation
Flags
flag | description | required | values |
---|---|---|---|
verbose | turn on logging | no | |
vv | verbose logging | no | |
pages | page selection | no | all pages |
upw | user password | no | |
opw | owner password | no |
Arguments
name | description | required | values |
---|---|---|---|
inFile | PDF input file | yes | |
rotation | rotation angle | yes | -270, -180, -90, 90, 180, 270 |
Examples
Rotate all pages of a PDF file clockwise by 90 degrees:
pdfcpu rotate test.pdf 90
Rotate the first two pages counter clockwise by 90 degrees:
pdfcpu rotate -pages 1-2 test.pdf -90