pdfcpu

Logo

A PDF processor written in Go.

View the Project on GitHub pdfcpu/pdfcpu


Changelog

List Attachments

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.

Usage

pdfcpu attachments list inFile


Common Flags

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


Arguments

name description required
inFile PDF input file yes


Examples

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)