2024-10-11 19:30:56 +02:00
|
|
|
# pdfattach
|
|
|
|
|
|
|
|
> Add a new attachment (embedded file) to an existing PDF file.
|
|
|
|
> See also: `pdfdetach`, `pdfimages`, `pdfinfo`.
|
|
|
|
> More information: <https://manned.org/pdfattach>.
|
|
|
|
|
|
|
|
- Add a new attachment to an existing PDF file:
|
|
|
|
|
|
|
|
`pdfattach {{path/to/input.pdf}} {{path/to/file_to_attach}} {{path/to/output.pdf}}`
|
|
|
|
|
|
|
|
- Replace attachment with same name if it exists:
|
|
|
|
|
|
|
|
`pdfattach -replace {{path/to/input.pdf}} {{path/to/file_to_attach}} {{path/to/output.pdf}}`
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
2025-04-20 00:21:53 +03:00
|
|
|
`pdfattach {{[-h|--help]}}`
|
2024-10-11 19:30:56 +02:00
|
|
|
|
|
|
|
- Display version:
|
|
|
|
|
|
|
|
`pdfattach -v`
|