Linux command
pdfattach 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Add
pdfattach input.pdf file_to_attach output.pdf
Replace
pdfattach -replace input.pdf file_to_attach output.pdf
Example
pdfattach --help
Example
pdfattach -v
说明
pdfattach adds a new embedded file (attachment) to an existing PDF file. The attachment is stored inside the PDF and can be extracted using pdfdetach.
参数
- -replace
- Replace an existing attachment with the same name if it exists
- -h, --help
- Display usage information
- -v
- Display version information
FAQ
What is the pdfattach command used for?
pdfattach adds a new embedded file (attachment) to an existing PDF file. The attachment is stored inside the PDF and can be extracted using pdfdetach.
How do I run a basic pdfattach example?
Run `pdfattach input.pdf file_to_attach output.pdf` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -replace do in pdfattach?
Replace an existing attachment with the same name if it exists