A PDF processor written in Go.
View the Project on GitHub pdfcpu/pdfcpu
This command removes properties from a PDF document. Have a look at some examples.
pdfcpu properties remove inFile [name...]
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 |
name | description | required |
---|---|---|
inFile | PDF input file | yes |
name… | one or more property names | no |
Remove a specific property from in.pdf
:
$ pdfcpu prop remove in.pdf dept
Remove all properties:
$ pdfcpu prop remove test.pdf