pdfattach
Add a new attachment (embedded file) to an existing PDF file. tldr-pages
On Linux
Linux
Add a new attachment to an existing PDF file
pdfattach path/to/input.pdf path/to/file_to_attach path/to/output.pdfIdentifyReplace attachment with same name if it exists
pdfattach -replace path/to/input.pdf path/to/file_to_attach path/to/output.pdfIdentifyDisplay help
pdfattach --helpIdentifyDisplay version
pdfattach -vIdentify