← 返回命令列表

Linux command

pdfunite 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Merge PDF files

pdfunite [input1.pdf] [input2.pdf] [output.pdf]

Merge multiple PDFs

pdfunite [file1.pdf] [file2.pdf] [file3.pdf] [combined.pdf]

Merge all PDFs in directory

pdfunite *.pdf [merged.pdf]

说明

pdfunite merges multiple PDF files into a single document. The last filename is the output; all others are inputs. Files are combined in the order specified on the command line. Page numbering continues sequentially through all input documents. The tool preserves PDF content including text, images, annotations, and bookmarks. Internal links within each document remain functional. Metadata from the first input file is used for the combined document. Other inputs' metadata is not merged. Shell wildcards expand to combine many files at once. Sorting happens alphabetically by default, which works well for numbered filenames. For more complex operations like page selection, rotation, or reordering, use pdftk or qpdf instead.

参数

-v
Print version.
-h
Print help.

FAQ

What is the pdfunite command used for?

pdfunite merges multiple PDF files into a single document. The last filename is the output; all others are inputs. Files are combined in the order specified on the command line. Page numbering continues sequentially through all input documents. The tool preserves PDF content including text, images, annotations, and bookmarks. Internal links within each document remain functional. Metadata from the first input file is used for the combined document. Other inputs' metadata is not merged. Shell wildcards expand to combine many files at once. Sorting happens alphabetically by default, which works well for numbered filenames. For more complex operations like page selection, rotation, or reordering, use pdftk or qpdf instead.

How do I run a basic pdfunite example?

Run `pdfunite [input1.pdf] [input2.pdf] [output.pdf]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -v do in pdfunite?

Print version.