Merge PDF Files with macOS's Hidden join Tool
Concatenate several PDFs into one file using the Combine PDF Pages Automator action from the Terminal.
01Command
$ "/System/Library/Automator/Combine PDF Pages.action/Contents/MacOS/join" -o merged.pdf page1.pdf page2.pdf page3.pdf02What it does
Every Mac ships with the Automator action 'Combine PDF Pages', and its command-line binary called join can be invoked directly from Terminal. Pass the output file with -o and list the input PDFs in the order you want them merged. Use shell wildcards like *.pdf to merge an entire folder of scanned pages at once.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Combine PDF files in Preview on MacEvidence: Documents Apple's built-in PDF merging capability in Preview, which the Automator 'Combine PDF Pages' action uses under the hood.
Last verified: 2026-09-18 · Category: Media
06Related solutions
List the biggest files in your home folder that are eating disk space.
Make Finder display .pdf, .docx, .png and every other extension at all times.
List every open file descriptor — files, directories, and network sockets — per process.