After merging two folders on Mac, find the duplicates that got created
Finder folder merges can quietly create duplicates. Here's how to find and remove them safely.
macOS Finder asks “Keep both” when you drag a folder onto another folder with the same name and the contents conflict. If you’ve ever clicked “Keep Both” instead of “Replace” — or if you used Terminal cp or rsync to merge folders — you’ve probably ended up with report.pdf and report 2.pdf, report 3.pdf, all sitting in the same destination folder.
What macOS actually does on a merge
When you drag a folder onto a folder of the same name:
- “Keep Both” creates
FolderandFolder 2(or renames items within with ” 2” suffixes for conflicts). - “Replace” overwrites existing files entirely.
- “Merge” (Option-drag in some cases) combines folders, keeping files from both — and on per-file conflicts you may again be asked.
The “Keep Both” path creates the duplicate situation this article is about.
Find the duplicates
- Install Dupe and open it.
- Click “Add Folder” and point it at the parent folder where you did the merge (or your whole home folder, if you don’t remember where).
- Click “Scan.” Dupe hashes every file with SHA-256 — duplicates with ” 2” or ” (copy)” suffixes will show up regardless of name.
- Browse the duplicate groups. Pairs with names like
report.pdfandreport 2.pdfare the smoking gun. - Select the suffixed copies and click “Move to Trash.”
A nice property of Dupe here: it doesn’t care about filename pattern matching. Even if Finder renamed a file in a weirder way during the merge, or if you renamed something manually after the fact, Dupe still catches it because the bytes are identical.
A faster check for “obvious” rename duplicates
If you only want to handle the macOS-style 2 suffix renames specifically, you can search in Finder:
- In Finder, Cmd+F.
- Search
2.(with a leading space) within the merged folder. - Review the results — most will be Finder-rename duplicates.
- Manually delete or verify with Dupe to make sure they’re actually duplicates of files in the same folder.
The Finder approach is faster but only catches the rename-style duplicates. Dupe catches every byte-identical pair regardless of name.
Safety
- Dupe moves files to the Trash. 30-day recovery.
- Byte-identical matching only — no false positives where two same-named files have actually different contents.
- macOS system folders and hidden folders are excluded.
After a big folder merge, one pass usually cleans up dozens of 2 files in a few minutes.
More Dupe tips
-
Apple Photos Duplicates album — what it catches and what it misses
The Photos app Duplicates album is handy, but it has real limits. Here's what it finds, what it doesn't, and how to fill the gaps.
-
Clean up leftover files from uninstalled apps on Mac
Dragging an app to the Trash doesn't remove all its data. Here's where the leftovers live and how to clean them.
-
Clean up your Mac without buying a cleaner app
Most paid cleaner apps do things macOS already does. Here's a free, manual workflow that's just as effective.
-
A no-bullshit guide to cleaning up your Mac's disk
Skip the SEO bait and the sketchy cleaner apps. Here's what actually works to reclaim disk space on a Mac.