mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
27 lines
631 B
Plaintext
27 lines
631 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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|--help]}}`
|
|
|
|
- Display version:
|
|
|
|
`pdfattach -v`
|