CLI to manipulate existing PDF files in a variety of ways.
cpdf {path/to/source_document.pdf} {1-3,6} -o {path/to/destination_document.pdf}
cpdf -merge {path/to/source_document_one.pdf} {path/to/source_document_two.pdf} -o {path/to/destination_document.pdf}
cpdf -list-bookmarks {path/to/document.pdf}
chunk001.pdf
, chunk002.pdf
, etc:
cpdf -split {path/to/document.pdf} -o {path/to/chunk%%%.pdf} -chunk {10}
fred
as owner password and joe
as user password:
cpdf -encrypt {128bit} {fred} {joe} {path/to/source_document.pdf} -o {path/to/encrypted_document.pdf}
fred
:
cpdf -decrypt {path/to/encrypted_document.pdf} owner={fred} -o {path/to/decrypted_document.pdf}
cpdf -list-annotations {path/to/document.pdf}
cpdf -set-metadata {path/to/metadata.xml} {path/to/source_document.pdf} -o {path/to/destination_document.pdf}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY This content has been proxied by September (3851b).Proxy Information
text/gemini;lang=en-GB