brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: Preview merges PDFs when you drag pages between sidebars

macOS
~/tips/tip-macos-preview-combine-pdfs

drag pages from one sidebar to the other sidebar

Combine pages from several PDFs into one file with Preview, no extra software.

People still install a PDF tool or upload their tax papers to some random merge website just to glue two PDFs together. On a Mac you don’t need any of that. Preview does it, and the trick is the sidebar with page thumbnails.

Open both PDFs in Preview and turn on the thumbnails for each one through the View menu. Then drag pages from the sidebar of one document into the sidebar of the other. You can drop them at the end or between two pages, and you can drag thumbnails around afterwards to fix the order. Hold Command while you click to pick pages that aren’t next to each other.

View > Thumbnails
drag pages from one sidebar to the other sidebar
Command-click = select pages that aren't next to each other

Want the whole second file in one go? Drag its icon from Finder straight into the sidebar of the open document. Say you have a signed contract in one PDF and the appendix in another: open the contract, show the thumbnails, drop the appendix file under the last page, done.

Watch out for one thing, because it bites if you don’t expect it. Preview saves changes automatically, so the PDF you drop pages into is changed on disk, not just on screen. Apple’s own advice is to use File > Duplicate on each PDF before you start combining. I’d do exactly that, and only merge into the copy. Your original stays untouched, and you can throw the copy away if the page order went sideways.

I like this one because it keeps private documents on my MacBook Pro instead of on someone’s upload server, which matters when the PDF is a payslip or something from the Belastingdienst.

Further reading: Combine PDFs in Preview on Mac

More macOS tips System Settings > Accessibility > Hover Text > When using the pointer A Smart Folder in Notes collects notes by tag, checklist or date Type # in a Mac note to tag it, then filter by tag in the sidebar tmutil isexcluded ~/Projects/app/node_modules Crop an image in Preview by dragging a frame and clicking Crop All macOS tips (99) All topics

Link