
PDF tooling for Go and the command line.
View the Project on GitHub pdfcpu/pdfcpu
This command adds one or more files to a PDF input file aka the PDF portfolio. Have a look at some examples.
pdfcpu portfolio add inFile file [ , desc ]... [flags]
| name | description | required |
|---|---|---|
| inFile | PDF input file, use - to read from stdin | yes |
| file… | one or more files to be attached | yes |
| desc | description | no |
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