Why do you have so many duplicates on your Mac?
Duplicates accumulate in ways you don't notice:
- Repeated downloads: You download a PDF, lose it, download it again. Now you have two copies.
- Photos imported twice: You connect the camera, import photos, connect it again and import again.
- Manual backups: You copy a folder "just in case" and end up with three versions.
- iCloud/Dropbox sync: Sometimes sync creates duplicates with suffixes like "file 2.jpg".
- Emails with attachments: You save an attachment, then save it again from another email.
Method 1: Search duplicates manually with Finder
macOS Finder has a smart search feature that can help you:
- Open a Finder window in the folder where you want to search (for example, Documents)
- Press
Cmd + Fto open search - In the first dropdown, choose "Name"
- In the second, choose "contains"
- Type the name of the file you suspect is duplicated (for example, "report")
- Finder shows you all files containing that word
- Sort by name or size to see duplicates together
Limitations of manual method:
- Only searches by name, not content. Two files with different names but same content won't be detected.
- You have to search folder by folder (slow).
- Doesn't automatically group duplicates.
- Requires you to know what file to search for.
Method 2: Use Terminal to search duplicates by content
If you're comfortable with terminal, you can use md5 to calculate each file's hash and find duplicates by identical content.
Basic script to search duplicates:
cd ~/Documents
find . -type f -exec md5 -r {} + | sort | awk '{print $1}' | uniq -d | while read hash; do
grep "$hash" | awk '{print $2}'
done
This script:
- Calculates MD5 hash of each file in ~/Documents
- Sorts the hashes
- Finds repeated hashes
- Shows files with those hashes (duplicates)
Limitations of this method:
- Slow for large disks (calculates hash of each file).
- Requires terminal knowledge.
- Doesn't show file previews.
- You have to delete manually.
Method 3: Use a dedicated app (recommended)
The fastest and safest way to find duplicates is using an app that scans your disk, groups identical files by content, and lets you choose which to delete with previews.
What a good duplicate finder should have:
- Content search, not just name: two files with different names but same content should be detected as duplicates.
- Previews: see file content before deleting (especially important for photos and documents).
- Visual grouping: duplicates should be shown grouped, not in a flat list.
- Smart selection: ability to select "keep oldest" or "keep from original folder".
- Confirmation before deleting: nothing is deleted without your explicit confirmation.
Mad.MD Cleaner — Duplicates Module:
Mad.MD Cleaner includes a Duplicates module that does exactly this:
- Choose the folder to scan (or entire disk)
- The app calculates hashes of all files
- Groups duplicates by identical content
- Shows each group with previews, size, and path
- You can select which to delete (or automatically keep the original)
- Confirm and they're moved to Trash (not directly, for safety)
Find duplicates automatically
Mad.MD Cleaner scans your Mac, groups duplicate files by content, and lets you choose which to delete. Free 7-day trial.
Try it free →What NOT to delete when you find duplicates
Not all "duplicate" files should be deleted. Some cases:
❌ Don't delete:
- System files: macOS has duplicate files in /System and /usr for security and performance reasons. Don't touch them.
- App libraries: some apps store copies in ~/Library/Application Support. If you're not sure, don't delete.
- Files with same name but different content: they could be different versions of the same document.
- Photos in different folders: if you organize photos by date, you might have the same photo in "Vacation 2024" and "Favorites". Decide which you want to keep.
✅ Safely delete:
- Duplicate downloads: if you downloaded the same PDF twice, delete one.
- Repeated installers: if you have three versions of the same .dmg, keep only the most recent.
- Duplicate work documents: if you copied "final-report.docx" to three different folders, keep only the one you use.
- Identical photos: if you imported the same photo twice, delete the copy.
How to prevent duplicates in the future
Once you clean duplicates, prevent them from accumulating again:
- Configure browser to ask where to save: prevents Downloads from filling with repeated files.
- Don't import photos twice: when connecting the camera, check if you already imported those photos.
- Use a single Downloads folder: and organize it weekly.
- Avoid manual backups: use Time Machine or iCloud instead of copying folders "just in case".
- Review duplicates every 3 months: quarterly cleanup prevents accumulation.
Summary: 3 steps to delete duplicates today
- Choose the method: manual (Finder), terminal (script), or dedicated app (recommended).
- Scan critical folders: Downloads, Documents, Pictures, Desktop.
- Review before deleting: verify files are really duplicates and you won't lose anything important.