A PDF processor written in Go.
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
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 |
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 attach list container.pdf
forest.jpg
pdfcpu.zip (description1)
invoice.pdf (description2)