How to Remove Duplicate Files From Your Mac Featured Image

How to Remove Duplicate Files From Your Mac: 5 Quick Ways

Find and Remove Mac Duplicates

Written by

Reviewed by

Last updated: December 29, 2024

Expert verified

SVG Image

TL;DR

To remove duplicate files from your Mac, follow these steps:

  1. Go to File > New Smart Folder.
  2. Click the + in the top-right corner.
  3. In the first drop-down menu, choose Kind.
  4. Select Image from the second drop-down menu and choose a specific file extension in the third drop-down menu. Click Save.
  5. Name your Smart Folder and select a save location.
  6. Once saved, select the duplicate files, right-click, and choose Move to Bin.

Tried and Tested ✅: The methods and steps mentioned in this article have been tried and tested firsthand by Ojash Yadav on his MacBook Pro M3 and rechecked for errors on Hashir’s MacBook Air M2.

Duplicate files like photos, documents, or songs can quickly clutter your Mac. I recently cleared mine and want to share quick ways to remove them. Let’s dive in!

How to Remove Duplicate Files From Your Mac

Why You Can Trust MacBook Journal verify badge We always conduct first-hand research and verify every method or solution we present, ensuring you receive reliable and effective advice. Learn more about our process.

Wondering how to remove duplicate files on Mac? I’ve got four easiest and most practical methods to find and remove duplicate files from your Mac. Check them out below.

1. Delete Duplicate Files on Mac In One Click With MacKeeper

MacKeeper’s Duplicates Finder is quick, simple, and clears space in one click. Here’s how to remove duplicate files from your Mac using MacKeeper:

  1. Download and install MacKeeper on your Mac.
  2. Open MacKeeper on your Mac and click Duplicates Finder in the left sidebar.
click duplicates finder in mackeeper under cleaning
  1. Click Start Scan.
click start scan in duplicates finder
  1. Select a folder in the left menu to review duplicate files before deletion.
click a folder in duplicates finder
  1. Alternatively, click Check All and tap the Remove Selected button to remove all duplicate files at once.
click check all and tap remove selected
  1. Tap the Remove button on the pop-up to confirm the deletion.
click remove on the pop up window in duplicates finder
  1. This will remove the selected files, and you’ll get a Removal Completed message. Click Finish to end the process.
click finish in duplicates finder to complete the process

2. Find and Remove Duplicate Files With Smart Folders

While this method is free, it can be time-consuming and may not be as accurate as third-party apps.

Smart Folders on Mac make finding duplicates easy by filtering files by type, name, or date. Save settings for auto-updating folders. Here’s how to use them:

  1. Open Finder on your Mac, click the File menu, and select New Smart Folder.
click file in the menu bar and select new smart folder
  1. Click the + icon in the upper-right corner of the New Smart Folder window.
click the icon in the upper right corner of the new smart folder window
  1. Set the search parameters for finding duplicate files. For instance, select Kind as the first condition, Image as the second, and PNG as the third if you want to access duplicate image files on your Mac.
  2. Click the + sign again, select Name, choose is, and type in copy.
  3. Click Save to save the search results as a Smart Folder.
set search parameters and click save
  1. Specify a name and location for your Smart Folder and tap the Save button.
specify a name and location for your smart folder and tap save
  1. Review the search results and delete the duplicate files.

Smart Folders speed up finding duplicates but still require manual review. Focus on specific folders, types, or sizes for quicker results. Here’s how:

How to Find Duplicate Files in Specific Folders

To locate duplicate files within certain folders, here’s how to create a Smart Folder for a targeted search:

  1. Open Finder and navigate to the folder you wish to search.
  2. Choose File > New Smart Folder from the menu.
click file in the menu bar and select new smart folder
  1. At the top of the window, in the Search bar, select the folder name.
click the folder name in the search bar
  1. Click the + icon in the top-right corner.

click the icon in the upper right corner of the new smart folder window

  1. Specify your search parameters and hit Save.
set search parameters and click save
  1. Give your Smart Folder a name and decide on its save location.
  2. Arrange your files by name, size, or creation date to easily spot duplicates.
  3. For removal, drag the duplicates to your Bin.

How to Find Duplicates of Specific File Types

To locate duplicates of certain file types, use Smart Folders with customized search criteria. Follow these steps:

  1. Go to File > New Smart Folder.
click file in the menu bar and select new smart folder
  1. Click the + in the top-right corner.

click the icon in the upper right corner of the new smart folder window

  1. In the first drop-down menu, choose Kind.
  2. Select Image from the second drop-down menu and choose a specific file extension in the third drop-down menu.
  3. Click Save.
select kind image and a file extension and click save
  1. Name your Smart Folder and select a save location.
  2. Once saved, select the duplicate files, right-click, and choose Move to Bin.

How to Find Duplicates by File Sizes

To search for duplicates based on file size, particularly useful for removing larger duplicates, follow these steps:

  1. Open a Finder window and click the + in the top right corner.

click the icon in the upper right corner of the new smart folder window

  1. In the first drop-down, select File Size. If it’s not visible, choose Other…, search for File Size, and add it to the menu.
  2. Specify your file size criteria.
  3. Click Save, name your folder, and choose its save location.
select file size set the criteria and click save
  1. After creating your Smart Folder, select the duplicates, right-click, and select Move to Bin.

3. Delete Duplicate Photos Using the Photos App

Importing photos into the Photos app creates duplicates by copying files into the library. To remove them, follow these steps:

  1. Open the Photos app by searching for Photos in Spotlight search (Command ⌘ + Space).
type photos in spotlight search
  1. In the Photos app, navigate to the Duplicates tab in the sidebar to see all your pictures.
click the duplicates tab in the photos app
  1. Select the duplicate photos you wish to delete. You can pick photos from a single row or multiple rows to delete them all at once.
  2. Then, click Merge Photos.
  3. By doing so, your Mac will retain the original image and remove the duplicates.

4. Remove Duplicates in Apple Mail Downloads

Apple Mail’s hidden Mail Downloads folder stores attachments, creating duplicates when saved again. Clear duplicates from this folder to avoid clutter. Here’s how:

  1. Open Finder, click Go in the menu bar, and select Go to Folder.
click go in the menu bar and select go to folder
  1. Type the following path in the empty field and press Enter:
~/Library/Containers/com.apple.MailCacheDelete/
type library containers com apple mailcachedelete in go to folder dialog box
  1. Open the Data folder in MailCacheDelete directory.
open the data folder in mailcachedelete directory
  1. In the Data folder, open Library and go to Mail Downloads.
in the data folder go to library and click mail downloads folder
  1. Here, you’ll see the duplicate mail downloads. Right-click the files and folders you want to remove and select Move to Bin.

5. Find Duplicate Files With Terminal

Use Terminal carefully if you’re familiar with it, as incorrect commands can cause issues. I’ve tested these steps, but double-check inputs. Here’s how to find duplicates with Terminal:

  1. Open Terminal by going to Finder > Applications > Utilities > Terminal.
launch terminal from utilities
  1. Navigate to the desired folder using the cd command. For instance, for Downloads, type cd ~/Downloads and press Enter.
  2. Enter the following command to find duplicates and press Enter:
find ./ -type f -exec md5 {} \; | awk -F '=' '{print $2 "\t" $1}' | sort | tee duplicates.txt

This generates a text file of duplicates but may miss some. You’ll need to manually identify originals, as similar names might not be flagged.

How to Prevent Duplicate Files on Your Mac

Knowing how to remove duplicates is important, but preventing them is key. Here are my strategies to keep files organized and avoid duplicates.

  • ☁️ Sync Smarts: Configure cloud sync settings to prevent duplicates.
  • 📑 Avoid Multiple Copies: Keep one copy of each file instead of scattering them.
  • ➡️ Transfer with Care: Check for duplicates when importing from external devices.
  • 🗂️ Use File Management Tools: Use file management tools for better organization.

Delete All Duplicate Files on Your Mac

Now that you know how to delete duplicate files on Mac, you may want to optimize its performance further and free up space on your Mac. Here are a few tips to get you started:

Frequently Asked Questions

Why is my Mac duplicating files?

Your Mac may duplicate files due to syncing issues with cloud services, software glitches, or incorrect settings in file management applications. Ensure your syncing settings are correct, and update your software to the latest version to prevent this issue.

How do I find and delete duplicate files on my Mac?

You can find and delete duplicate files on your Mac using Finder or a third-party app like MacKeeper. These tools scan your drive, identify duplicates, and allow you to review them before deletion.

Can duplicate files cause any harm to my Mac?

No, duplicate files cannot cause any harm to your Mac, but they can cause performance issues over time. These files take up valuable storage space, making your Mac run out of space. Plus, having multiple copies of the same file can slow down your Mac and make it harder to stay organized.

Can I recover a file I accidentally deleted while removing duplicate files on my Mac?

Yes, you can recover a file you accidentally deleted while removing duplicate files on your Mac. You can drag the file back to your desired location if it is still in the Bin. You can also retrieve the deleted file from a backup if you have a backup system. If these options don’t work, use data recovery tools to restore the deleted file.

How often should I remove duplicate files from my Mac?

You should remove duplicate files from your Mac at least once every few weeks to keep your system running smoothly. However, the frequency of removing duplicate files from your Mac depends on your usage and storage habits.

Will removing duplicate files speed up my slow Mac?

Removing duplicate files will speed up your slow Mac to some extent by freeing up disk space. This can improve overall system performance, especially if your storage is nearly full. However, for significant speed improvements, consider other optimization options.

Ojash

Author

Hi there! I'm Ojash, a tech journalist with over a decade of experience in the industry. I've had the privilege of contributing to some of the world's largest tech publications, making my mark as a respected Mac expert. My passion lies in exploring, using, and writing about MacBooks, and I enjoy sharing my expertise to help others make informed decisions and get the most out of their MacBook experience. Join me as we delve into the fascinating world of MacBooks together!

Hashir Ibrahim

Reviewer

Hello! I'm Hashir, a seasoned tech journalist with a unique blend of academic expertise and hands-on experience. With a bachelor's in IT, a master's in cybersecurity, and over a decade in the industry, I've built a reputation for demystifying complex Apple hardware. My work has been featured in top tech outlets like MakeUseOf and MakeTechEasier. As the senior writer at MacBook Journal, I write guides that help you solve any issues you have with your mac.

Total
0
Shares
You May Also Like