A PDF processor written in Go.
View the Project on GitHub pdfcpu/pdfcpu
The following flags are used by most commands.
Please refer to pdfcpu help
+ command for specific usage information.
Enables logging on the standard output.
Very verbose.
Enables verbose logging on the standard output.
Please use this flag to report a bug.
Disables all output to stdOut.
Disable outgoing HTTP traffic.
For validating links or filling image boxes.
Set or disable config dir:
command | value |
---|---|
Set | path |
Disable | disable |
Set input display unit to one of:
unit | value |
---|---|
points | po(ints) |
inches | in(ches) |
centimetres | cm |
millimetres | mm |
A comma separated list of expressions defining the selected pages of a PDF input file.
Used by various commands.
Please refer to validate, extract, encrypt, pages, stamp and watermark for more information.
Owner password
This is the password needed to change the access permissions.
It is commonly also referred to as the master password or the permissions password.
Since some PDF readers skip over blank owner passwords pdfcpu makes this mandatory and non empty if you want to encrypt your documents with pdfcpu.
User password
This is the password needed to open a PDF for reading.
It is also known as the open doc password.