
PDF tooling for Go and the command line.
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... ] [flags]
| name | description | required |
|---|---|---|
| inFile | PDF input file, use - to read from stdin | 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
Remove properties while reading and writing the PDF through pipes:
$ aws s3 cp s3://acme-assets/brochure-described.pdf - \
| pdfcpu properties remove - - Subject \
| aws s3 cp - s3://acme-assets/brochure-clean-meta.pdf