LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pdfunite

merges multiple PDF files into a single document

TLDR

Merge PDF files
$ pdfunite [input1.pdf] [input2.pdf] [output.pdf]
copy
Merge multiple PDFs
$ pdfunite [file1.pdf] [file2.pdf] [file3.pdf] [combined.pdf]
copy
Merge all PDFs in directory
$ pdfunite *.pdf [merged.pdf]
copy

SYNOPSIS

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

DESCRIPTION

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.

PARAMETERS

-v

Print version.
-h
Print help.

INSTALL

sudo apt install poppler-utils
copy
sudo dnf install poppler-utils
copy
sudo apk add poppler-utils
copy
nix profile install nixpkgs#poppler-utils
copy

CAVEATS

No page selection (all pages included). No reordering. Encrypted PDFs need password. Very large merges may need significant memory.

HISTORY

pdfunite is part of poppler-utils, derived from the Xpdf project. It provides simple PDF merging without requiring the heavier pdftk or commercial tools.

SEE ALSO

pdfseparate(1), pdftk(1), qpdf(1), pdfinfo(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid