Mad.MD Cleaner
Mad.MD Cleaner one-time · no account
📁 Practical guide · 10 min read

How to Find and Delete Duplicate Files on Mac Without Losing Important Files

Duplicate files take up space without you noticing. Photos copied twice, documents downloaded multiple times, repeated music. This guide shows you how to find and safely delete them.

📅 October 2026👤 Matías D'Alessandro

Why do you have so many duplicates on your Mac?

Duplicates accumulate in ways you don't notice:

💡 Fact: On average, a Mac user has between 2 and 10 GB of duplicate files. In photographers or designers, it can reach 50+ GB.

Method 1: Search duplicates manually with Finder

macOS Finder has a smart search feature that can help you:

  1. Open a Finder window in the folder where you want to search (for example, Documents)
  2. Press Cmd + F to open search
  3. In the first dropdown, choose "Name"
  4. In the second, choose "contains"
  5. Type the name of the file you suspect is duplicated (for example, "report")
  6. Finder shows you all files containing that word
  7. Sort by name or size to see duplicates together

Limitations of manual method:

⚠️ Careful: Two files with the same name aren't necessarily duplicates. They could be different versions of the same document. Always verify content before deleting.

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:

  1. Calculates MD5 hash of each file in ~/Documents
  2. Sorts the hashes
  3. Finds repeated hashes
  4. Shows files with those hashes (duplicates)

Limitations of this method:

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:

Mad.MD Cleaner — Duplicates Module:

Mad.MD Cleaner includes a Duplicates module that does exactly this:

  1. Choose the folder to scan (or entire disk)
  2. The app calculates hashes of all files
  3. Groups duplicates by identical content
  4. Shows each group with previews, size, and path
  5. You can select which to delete (or automatically keep the original)
  6. 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:

✅ Safely delete:

⚠️ Golden rule: before deleting a duplicate, ask yourself: "If I delete this file, will I lose something irreplaceable?" If the answer is yes, don't delete it. If it's a file you can download or recreate, go ahead.

How to prevent duplicates in the future

Once you clean duplicates, prevent them from accumulating again:

  1. Configure browser to ask where to save: prevents Downloads from filling with repeated files.
  2. Don't import photos twice: when connecting the camera, check if you already imported those photos.
  3. Use a single Downloads folder: and organize it weekly.
  4. Avoid manual backups: use Time Machine or iCloud instead of copying folders "just in case".
  5. Review duplicates every 3 months: quarterly cleanup prevents accumulation.

Summary: 3 steps to delete duplicates today

  1. Choose the method: manual (Finder), terminal (script), or dedicated app (recommended).
  2. Scan critical folders: Downloads, Documents, Pictures, Desktop.
  3. Review before deleting: verify files are really duplicates and you won't lose anything important.
💡 Final tip: If you have more than 100 GB of photos or videos, start there. Multimedia files take the most space and where most duplicates accumulate.