0
No error.
Portable document format (pdf) document embedded file creator (version 3.03)
pdfattach [options]
input-PDF-file
file-to-attach
output-PDF-file
Pdfattach adds a new embedded file (attachment) to an existing Portable Document Format (PDF) file.
-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.)
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.
Unchanged in 4 releases since Debian 11 (Bullseye).