pdfcpu

Logo

A PDF processor written in Go.

View the Project on GitHub pdfcpu/pdfcpu


Changelog

Common Flags

The following flags are used by most commands.
Please refer to pdfcpu help + command for specific usage information.

verbose, v

Enables logging on the standard output.

vv

Very verbose.
Enables verbose logging on the standard output.
Please use this flag to report a bug.

quiet, q

Disables all output to stdOut.

pages, p

A comma separated list of expressions defining the selected pages of a PDF input file.

mode, m

Used by various commands.
Please refer to validate, extract and encrypt for more information.

opw

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.

upw

User password
This is the password needed to open a PDF for reading. It is also known as the open doc password.