From cd47ade4b64636dca5604ca79277851793b0db8c Mon Sep 17 00:00:00 2001 From: Wiktor Perskawiec Date: Fri, 11 Oct 2024 19:30:56 +0200 Subject: [PATCH] pdfattach: add page (#14110) * pdfattach: add page --------- Co-authored-by: K.B.Dharun Krishna --- pages/linux/pdfattach.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/linux/pdfattach.md diff --git a/pages/linux/pdfattach.md b/pages/linux/pdfattach.md new file mode 100644 index 000000000..063847fcb --- /dev/null +++ b/pages/linux/pdfattach.md @@ -0,0 +1,21 @@ +# pdfattach + +> Add a new attachment (embedded file) to an existing PDF file. +> See also: `pdfdetach`, `pdfimages`, `pdfinfo`. +> More information: . + +- 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`