pdfattach (1) Linux Manual Page
pdfattach – Portable Document Format (PDF) document embedded file creator (version 3.03)
Synopsis
pdfattach [options] input-PDF-file file-to-attach output-PDF-fileDescription
Pdfattach adds a new embedded file (attachment) to an existing Portable Document Format (PDF) file.Options
- -replace
- Replace embedded file with same name (if it exists)
- -v
- Print copyright and version information.
- -h
- Print usage information. (-help and –help are equivalent.)
Exit Codes
- 0
- No error.
- 1
- Error opening input PDF file.
- 2
- Error opening file to attach.
- 3
- Output file already exists.
- 3
- There is already an attached file with that name.
- 5
- Error saving the output file.
