
PDF tooling for Go and the command line.
View the Project on GitHub pdfcpu/pdfcpu
A PDF attachment is any file previously attached to a PDF document. This command outputs a list of all attachments. Have a look at some examples.
pdfcpu attachments list inFile [flags]
| name | description | required |
|---|---|---|
| inFile | PDF input file, use - to read from stdin | yes |
List all attachments embedded into container.pdf. You may attach any file to a PDF document.
Any available attachment description will be shown in braces:
$ pdfcpu attachments list container.pdf
forest.jpg
pdfcpu.zip (description1)
invoice.pdf (description2)
List attachments for a streamed PDF:
$ aws s3 cp s3://acme-archive/report.pdf - \
| pdfcpu attachments list -