How to Find Duplicate Files on Mac

Duplicate files can happen on your Mac for several reasons. You might download multiples of the same image, mail attachments, or photos from iPhone imports.

Although a duplicate file isn’t terrible by itself, this unneeded information can rob your HDD or SSD of the space it needs to support your Mac.

Once you reach 90% capacity with your internal storage, your Mac might start operating with less speed.

If you know how to find duplicate files on an iMac, MacBook, or Mac Mini, you can resolve these issues quickly and efficiently.

Why Do I Have Duplicate Files on My Mac?

When your Mac starts running slow or gives you the rainbow wheel more often, it could be due to a lack of free space on your internal drive.

If you see that you’re running low on space, the next step is to look for duplicate files.

Many Mac users have PCs that they also use for personal or professional reasons. When you transition from Windows to macOS, the mind doesn’t always remember that you go from two clicks to one.

When you double-click on a download link on your Mac, you’re likely getting two files in your download folder.

The files won’t be named exactly the same. If the first one is called “duplicatefiles.docx,” the second one would be “duplicatefiles(1).docx.”

You can sometimes see those numbers go higher than ten, especially if you’ve forgotten that you’ve downloaded something already!

Another common reason why you have duplicate files involves your email. If you have the mail function set up on your Mac, you get the information in your browser and here simultaneously. When attachments keep coming back and forth, you’ll get more duplicate files.

You might see duplicate files if you have your iPhone and Mac linked with an app like Whatsapp that lets users send images. It can also happen when you send text messages from macOS to other devices with pictures included.

What Are the Best Ways to Find Duplicate Files on a Mac?

If you type a file name into Finder, the search mechanism will locate every duplicate that matches the request.

That means every “duplicatefiles.docx” version from (1) to (100) is conceivably available. You can take the items from Finder, move them to Trash, and empty the folder.

You can highlight an entire file batch to remove in Finder by starting with the top or bottom file. Click on it, hold the shift key on your Magic Keyboard, and select the top file in the range you want to delete.

After highlighting all of the files, you can move them in bulk to Trash for deletion.

If manually searching for duplicates in Finder feels like a time-intensive process, these additional options can let you find the extra files that take up space on your Mac.

1. Use Mac Terminal to find duplicate files to delete

For this option to work, you’ll need:

  1. Open Mac Terminal. It’s in the Utilities menu within Applications.
  2. Next, you’ll want to scan a specific folder that has potential duplicates. For most Mac users, that means it is the Downloads folder.
  3. You would type cd ~/Downloads and hit return to move to that directory.
  4. Once you’re there, type or paste the following command into Mac Terminal and hit Enter.

find ./ -type f -exec md5 {} \; | awk -F ‘=’ ‘{print $2 “\t” $1}’ | sort | tee duplicates.txt

find duplicates in download folder

This command creates a text file in the Downloads folder (or the one you stipulated). It lists the duplicates inside that you want to find.

It is an Apple methodology that works, but it can miss a lot of duplicates. You’ll also need to sift through the individual files manually to find the ones you prefer.

Pros of Using Mac Terminal: Cons of Using Mac Terminal:
  • It speeds up the duplicate-finding process compared to Finder searches.
  • One command lets you find numerous duplicates in common folders.
  • You can avoid scanning the entire disk.
  • It requires some technical skill to understand the command lines used to delete files.
  • The process can overlook numerous duplicates.

2. Use Smart Folders

Smart Folders find and organize files on your Mac automatically. It uses your search criteria to ensure you have access to the specific information you need.

Your files remain where they got saved. Smart Folders is more of an index that lets you find the actual files and their duplicates.

You can start using this macOS feature by opening Finder. Select “File” from the menu, and then choose “New Smart Folder.”

create new smart folder for find duplicates

Enter your criteria in the search field. After you hit “Return,” you’ll get the results you want.

Pros of Using Smart Folders: Cons of Using Mac Terminal:
  • The system learns your preferences to make finding duplicates easier as time passes.
  • You can build this resource locally with only a couple of clicks.
  • It requires more manual attention than other duplicate discovery methods.
  • You are using an information aggregator instead of a Finder-style process.

3. Use a dedicated third-party app

Third-party apps can help you find duplicate files with a simple scan. Once you get the results, you can decide if any of the discovered data deserves to be saved.

Dozens of different third-party apps provide this service. Here are the best ones to review if you’d like to use this method for removing the duplicates.

Best Duplicate File Finders for Mac to Use:

  1. Disk Drill Duplicate File Finder. This provider offers a whole suite of useful tools that can make your Mac faster and more efficient. It only takes one scan to find the majority of potential duplicates that are taking up all of your space.find duplicates with disk drill software
  2. Duplicate File Finder Remover. You’ll clean up your internal and external drives remarkably fast when using this Mac app. It also addresses the folders that sometimes get cloned to maximize your space. If you invest in the pro version, you can merge, mass delete, and get other management benefits.find duplicates with duplicate file finder
  3. Gemini. This software is from the CleanMyMac developers, making it a simple tool with a clean interface to let you find duplicates. You can scan your entire drive or individual folders, allowing you to select the ones you want to keep. It also comes with included algorithms to automatically apply them during future scans. gemini find duplicates
  4. Duplicate Sweeper. You’d want to consider this option if you need cross-platform help at home. It looks for duplicate files in all of the usual places, but it also searches iCloud, Google Drive, and OneDrive to maximize your space.duplicate sweeper get in app store
  5. dupeGuru. If you prefer an open-source duplicate finder, this option delivers positive results. It works best with photos and audio files, although it can detect multiples of almost anything.finded duplicates with dupeGuru
Pros of Using Dedicated Third-Party Apps: Cons of Using Dedicated Third-Party Apps:
  • It provides a reliable, often automatic service.
  • Some of the apps are available for free.
  • You can increase the speed of duplicate file removal.
  • Some downloads require paid licenses to delete duplicates.
  • You might need to review the files manually anyway.
  • Some platforms miss duplicates that Finder locates.

4. Use iTunes to remove duplicate files

If most of your duplicates are in the music, audiobook, or video category, iTunes offers a fast way to remove extra files.

You must open iTunes to start this process. Choose the songs (or videos, audiobooks, and other files) in your library section.

After you reach that screen, click on the “File” option in the top menu. Select Library, and then you can choose “Show Duplicate Items.”

show duplicates items in library itunes

You can delete any of the duplicates you find on your system within your libraries with this method.

Pros of Using iTunes: Cons of Using iTunes:
  • You get to use the built-in feature of iTunes to find duplicate files.
  • The manual controls let you pick and choose what items need to get delete.
  • You must delete the duplicate files one at a time.
  • It only applies to items stored in your iTunes library.

5. Remove Duplicates in Mail Downloads

Email lets us communicate instantly. It also tends to produce hundreds of duplicate files.

Attachments are everywhere. They’re in your email inbox, downloads folder, cloud storage, and anywhere else you work. If you operate multiple Macs, you might have four versions of the same file stored on each operating system.

The fastest way to remove duplicates in Mail Downloads is to remove the entire folder. You can find that under your profile by selecting this chain:

~/Library/Containers/com.apple.mail/Data/Library/Mail Downloads

remove duplicates from mail download folder

That’s not a typo. You have two Library folders to manage when finding these files.

Every attachment, either viewed or opened, gets stored there. You can select all, two-finger click, and move everything to the Trash folder.

You won’t always see duplicate file names with this option, which is why it is often helpful to use a third-party software solution as a backup.

Pros of Using Mail Downloads: Cons of Using Mail Downloads:
  • You can review all of the attachments to see what you want to keep or send to the Trash folder.
  • It allows your inbox to stay better organized.
  • The navigational hierarchy to get to the files requires multiple steps.
  • If you don’t delete an attachment in your email, opening it again will create another duplicate.

6. Use OS X Photos (iPhoto)

Most Mac users take advantage of the OS X Photos app to keep their images organized. It’s a simple, straightforward solution that sorts your memories using multiple filters.

One of those options is to find duplicate files and prevent more from happening.

You can start by opening the Photos app as usual. Navigate to the “Photos” menu to select “Preferences” at the top bar.

open photos app preferences

Under the “General” tab, move the slider or click the box that says, “Copy items to the Photos library.”

copy items to the photos library

You can then close the window.

Although you must manually import new files, it’ll stop the images from duplicating. Although there isn’t a way for OS X Photos to remove duplicates within the software, you can search for them in Finder or use a third-party tool.

Pros of Using OS X Photos: Cons of Using OS X Photos:
  • It prevents new duplicates from forming.
  • You must use an outside solution to remove the duplicate files.
  • If you turn off importing, you may clog up your iCloud storage, which could charge more money if you have automatic storage settings engaged.

In Conclusion: Start Removing Duplicate Files Today

Whether you choose a manual or third-party method for duplicate file removal, you must do something. When too much bloat reaches your internal drive, your Mac starts slowing quickly.

These solutions can find duplicate folders, manage each program, and even find duplicate files on Mac’s external hard drives.

You can select freeware or paid options if you want to avoid the manual processes. Once you get your system organized, you might discover more speed!

FAQ Section: Find Duplicate Files on Mac

Meticulous writer with an ingrained fervour to address data recovery issues
Scroll to top