pdfcpu attachments extract [-v(erbose)|vv] [-upw userpw] [-opw ownerpw] inFile outDir [file...]
|verbose||turn on logging||no|
|inFile||PDF input file||yes|
|file…||one or more attachments to be extracted||yes|
Extract a specific attachment from
pdfcpu attach extract ledger.pdf out invoice1.pdf extracting attachments from ledger.pdf into out ...
Extract all attachments of
pdfcpu attach extract ledger.pdf out * extracting attachments from ledger.pdf into out ...