Updated 2026-09-30 · Huaye Mac Manager
Duplicates build up quietly: the same installer downloaded twice, a folder of photos copied to an external drive and back, a project duplicated “just in case”. They waste space, but they’re also the one kind of clutter where you have to decide what to keep — sometimes two copies are there on purpose.
Here are three ways to find them, from quick to thorough, and how to remove them without losing anything.
report (1).pdf, report-2.pdf or report copy.pdf.This catches the obvious cases but misses copies with different names and can’t tell you whether two files are truly identical.
This command hashes every file over 1 MB in Documents, Desktop and Downloads and prints the second and later copies of each identical file:
find ~/Documents ~/Desktop ~/Downloads -type f -size +1M -print0 \
| xargs -0 shasum -a 256 | sort | awk 'seen[$1]++'
Files with the same hash have exactly the same content, whatever they’re called. It can take a while on large folders, and it only lists files — you still decide what to delete.
Don’t hunt for duplicate photos in Finder — the Photos library is a package and editing it by hand can damage it. In the Photos app, open Utilities → Duplicates in the sidebar and merge duplicates there.
Huaye Mac Manager has a File Cleanup view with two scans: large files (50 MB to 1 GB and up) and duplicate files. Duplicates are found by content, not name — files must match in size, then in a quick partial hash, then in a full SHA-256 hash — and hard links to the same file aren’t counted twice.
node_modules.4 MB, native, Apple Silicon and Intel, macOS 13 or later. Scanning is free after the 14-day trial; a one-time license from US$6.99 unlocks cleaning.
Yes, as long as the files really are identical (compare content, not just names) and you keep one copy. Moving them to the Trash first gives you a way back.
Only for photos: the Photos app’s Duplicates album. For other files, use Finder, Terminal or a dedicated tool.
Browsers add a number when you download a file with the same name twice. The number doesn’t guarantee the content is identical — check the size or hash.