1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 08:22:09 +02:00
tldr/pages/linux/pdfattach.md
Wiktor Perskawiec cd47ade4b6
pdfattach: add page (#14110)
* pdfattach: add page

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-10-11 23:00:56 +05:30

21 lines
526 B
Markdown

# 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:
`pdfattach -h`
- Display version:
`pdfattach -v`