pdfcpu

Logo

A PDF processor written in Go.

View the Project on GitHub pdfcpu/pdfcpu


Changelog

Remove Keywords

This command removes keywords from a PDF document. Have a look at some examples.

Usage

pdfcpu keywords remove inFile [keyword...]


Common Flags

name description values
v(erbose) turn on logging  
vv verbose logging  
q(uiet) quiet mode  
-o(ffline) disable http traffic  
c(onf) config dir $path, disable
opw owner password  
upw user password  
u(nit) display unit po(ints),in(ches),cm,mm


Arguments

name description required
inFile PDF input file yes
keyword… one or more search keywords or keyphrases no


Examples

Remove a specific keyword from test.pdf:

$ pdfcpu keywords remove test.pdf modern


Remove all keywords:

$ pdfcpu keywords remove test.pdf