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 [-v(erbose)|vv] [-q(uiet)] [-upw userpw] [-opw ownerpw] inFile


Flags

name description required
verbose turn on logging no
vv verbose logging no
quiet verbose logging no
upw user password no
opw owner password no


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:

pdfcpu attach list container.pdf
forest.jpg
pdfcpu.zip
invoice.pdf