pdfcpu

Logo

PDF tooling for Go and the command line.

View the Project on GitHub pdfcpu/pdfcpu


Changelog
Future Directions

Add Portfolio Entries

This command adds one or more files to a PDF input file aka the PDF portfolio. Have a look at some examples.

Usage

pdfcpu portfolio add inFile file [ , desc ]... [flags]

Common Flags


Arguments

namedescriptionrequired
inFilePDF input file, use - to read from stdinyes
file…one or more files to be attachedyes
descdescriptionno

Examples

Add pictures to a PDF portfolio for easy content delivery:

$ pdfcpu portfolio add portfolio.pdf *.jpg
writing portfolio.pdf ...

Add a portfolio entry while reading the PDF from stdin:

$ aws s3 cp s3://acme-dataroom/package.pdf - \
   | pdfcpu portfolio add - contract.pdf > package-with-contract.pdf