Add Attachments
This command embeds one or more files by attaching them to a PDF input file. Have a look at some examples.
Usage
pdfcpu attachments add [-v(erbose)|vv] [-upw userpw] [-opw ownerpw] inFile file...
Flags
name | description | required |
---|---|---|
verbose | turn on logging | no |
vv | verbose logging | no |
upw | user password | no |
opw | owner password | no |
Arguments
name | description | required |
---|---|---|
inFile | PDF input file | yes |
file… | one or more files to be attached | yes |
Examples
Attach pictures to a coverpage PDF for easy content delivery:
pdfcpu attach add album.pdf *.jpg
adding 8 attachments to album.pdf ...
writing album.pdf ...