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

  1. pdfcpu attachments list [-v(erbose)|vv] [-upw userpw] [-opw ownerpw] inFile

Flags

namedescriptionrequired
verboseturn on loggingno
vvverbose loggingno
upwuser passwordno
opwowner passwordno

Arguments

namedescriptionrequired
inFilePDF input fileyes

Examples

List all attachments embedded into container.pdf. You may attach any file to a PDF document:

  1. pdfcpu attach list container.pdf
  2. forest.jpg
  3. pdfcpu.zip
  4. invoice.pdf