coherentgraphics / cpdf-binaries

PDF Command Line Tools binaries for Linux, Mac, Windows
Other
581 stars 42 forks source link

How to copy a page? #67

Closed sxsnwangrenfei closed 1 year ago

sxsnwangrenfei commented 1 year ago

How to copy a page after a page? Method not found in document.

johnwhitington commented 1 year ago

You can use ranges. For example, to duplicate page 10:

cpdf in.pdf 1-9,10,10,11-end -o out.pdf

Is that the kind of thing you mean?