(just testing rss feed!)
If you’re using Linux and looking for a quick way to merge PDF files pdfunite come in handy. It’s a simple command-line tool that gets the job done fast.
In this post, I’ll walk you through:
Here’s how to install it on Ubuntu: Install the poppler-utils package
sudo apt update
sudo apt install poppler-utils
Once installed, you can confirm it’s available by running:
pdfunite --version
Here’s the basic syntax:
pdfunite input1.pdf input2.pdf input3.pdf output.pdf
Let’s say you have three PDFs named chapter1.pdf, chapter2.pdf, and chapter3.pdf. To merge them into a single file called book.pdf, run:
pdfunite chapter1.pdf chapter2.pdf chapter3.pdf book.pdf
That’s it! book.pdf will now contain all three chapters in order.
pdfunite "My File 1.pdf" "My File 2.pdf" "Final Output.pdf"
You can use a shell wildcard or command substitution:
pdfunite $(ls *.pdf | sort) output.pdf
⚠️ Be cautious with this — make sure the sort order is what you want!
If you like you can create a backup and merge automatically:
mkdir backup
cp *.pdf backup/
pdfunite *.pdf merged.pdf
Got any favorite Linux PDF tips? Drop them in the comments or reach out — I love learning new tricks!