pdfcpu

Logo

A PDF processor written in Go.

View the Project on GitHub pdfcpu/pdfcpu


Changelog

Add Properties

This command adds property name/value pairs to a PDF document. Have a look at some examples.

Usage

pdfcpu properties add [-v(erbose)|vv] [-q(uiet)] [-upw userpw] [-opw ownerpw] inFile nameValuePair...


Flags

name description required
verbose turn on logging no
vv verbose logging no
quiet quiet mode no
upw user password no
opw owner password no


Arguments

name description required
inFile PDF input file yes
nameValuePair ‘name = value’ yes


Examples

Adding a property:

pdfcpu properties add in.pdf name = value
pdfcpu properties add in.pdf 'name = value'

Adding two properties:

pdfcpu properties add in.pdf 'name1 = value1' 'name2 = value2'