1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-30 20:36:01 +02:00

pdfdetach: add page (#14112)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
Wiktor Perskawiec 2024-10-11 19:35:45 +02:00 committed by GitHub
parent 616f4717fd
commit 92f7744165
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

25
pages/linux/pdfdetach.md Normal file
View file

@ -0,0 +1,25 @@
# pdfdetach
> List or extract attachments (embedded files) from a PDF file.
> See also: `pdfattach`, `pdfimages`, `pdfinfo`.
> More information: <https://manned.org/pdfdetach>.
- List all attachments in a file with a specific text encoding:
`pdfdetach list -enc {{UTF-8}} {{path/to/input.pdf}}`
- Save specific embedded file by specifying its number:
`pdfdetach -save {{number}} {{path/to/input.pdf}}`
- Save specific embedded file by specifying its name:
`pdfdetach -savefile {{name}} {{path/to/input.pdf}}`
- Save the embedded file with a custom output filename:
`pdfdetach -save {{number}} -o {{path/to/output}} {{path/to/input.pdf}}`
- Save the attachment from a file secured by owner/user password:
`pdfdetach -save {{number}} {{-opw|-upw}} {{password}} {{path/to/input.pdf}}`