pdfcpu

Logo

PDF tooling for Go and the command line.

View the Project on GitHub pdfcpu/pdfcpu


Changelog
Future Directions

Remove Properties

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

Usage

pdfcpu properties remove inFile [ name... ] [flags]

Common Flags


Arguments

namedescriptionrequired
inFilePDF input file, use - to read from stdinyes
name…one or more property namesno

Examples

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