Add Attachments

This command embeds one or more files by attaching them to a PDF input file. Have a look at some examples.

Usage

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

Flags

namedescriptionrequired
verboseturn on loggingno
vvverbose loggingno
upwuser passwordno
opwowner passwordno

Arguments

namedescriptionrequired
inFilePDF input fileyes
file…one or more files to be attachedyes

Examples

Attach pictures to a coverpage PDF for easy content delivery:

  1. pdfcpu attach add album.pdf *.jpg
  2. adding 8 attachments to album.pdf ...
  3. writing album.pdf ...