pdfcpu

Logo

A PDF processor written in Go.

View the Project on GitHub pdfcpu/pdfcpu


Changelog

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] [-q(uiet)] [-upw userpw] [-opw ownerpw] inFile file...


Flags

name description required
verbose turn on logging no
vv verbose logging no
quiet quiet mode 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 ...