How To Find Duplicate Files On Mac (6 Ways Explained)

Before we dive in

Before we dive in, let's make sure you stay safe online. We created SpyHunter because your security matters to us.

Protect your computer today — download SpyHunter right here! Check out our top tips below to keep your computer safe and secure.

Download SpyHunter

Are you running out of space on your Mac or simply looking to tidy up your digital workspace? Duplicates are more common than you might think. They silently accumulate over time, occupying valuable disk space that could be used more efficiently.

This article explores six effective methods to find and eliminate duplicate files on your Mac, ensuring a cleaner, more efficient environment.

Whether you prefer using built-in techniques, third-party software, or manual techniques, you’ll find a solution that fits your needs.

Get ready to reclaim your Mac’s speed and storage by tackling duplicate files head-on.

Find duplicate files using Finder

The Finder on your Mac can be a helpful tool for locating duplicate files manually, although it requires some effort and attention to detail.

Here’s how to use Finder’s Smart Folders to locate duplicate files:

  1. Open New Finder Window: Launch Finder from your Dock or Applications folder.
  2. Create a New Smart Folder: In Finder, go to the File menu at the top of the screen and select New Smart Folder to create a dynamic folder that automatically updates based on search criteria.
  3. Set Search Criteria: In the Smart Folder, click the ‘+’ button on the right side to add additional criteria. You can specify the file type, such as images or documents, by selecting Kind from the drop-down menu. This helps narrow down the files you want to sift through for duplicates.
open new smart folder on mac
  1. Add More Criteria for Better Filtering: You might add additional criteria based on Date Created, Date Modified, or File Size to narrow down the results to potential duplicates.
  2. Review the Files: The Smart Folder will display all the files that meet your criteria. Review these files carefully to identify duplicates. Since Smart Folders don’t move files, everything remains at its original location, but you get a centralized view of potential duplicates.
add criteria in smart folder to detect duplicate files
  1. Select and Remove Duplicates: Manually check each file to confirm it is a duplicate. When you find duplicates, select them (hold Command and click to select multiple files), then right-click and choose Move to Trash or press Command + Delete to remove them.
  2. Empty the Trash: To free up space and permanently remove the duplicates, right-click the Trash icon in your Dock and select Empty Trash from the context menu.
delete duplicate files using smart folder

Using smart folders to find duplicates is a manual process that works best when you know which files might be duplicated, such as documents or photos saved in multiple locations. It’s a good starting point for users who prefer not to download additional software.

Although this method doesn’t require any additional software, it’s worth noting that it might not catch every single duplicate, especially if there are files with slightly different names.

Delete duplicate files on Mac with Terminal

Using the Terminal on your Mac offers a powerful way to find and delete duplicate files through command-line utilities. This method is suited for those who are comfortable with Unix commands and prefer a hands-on approach.

Here’s how you can use Terminal to tackle identical files:

  1. Open Terminal: Begin by opening the Terminal app. This is your doorway to executing commands directly on your Mac.
  2. Specify Your Target Folder: Decide which folder to search for duplicates. Once you’ve decided, navigate to this particular folder using the cd command followed by the path. For example, if you want to check the Documents folder, type the following command:
cd ~/Documents
  1. Enter the Duplicate-Finding Command: Next, you’ll input the command to search for duplicate files based on file size or MD5 hash – a type of digital fingerprint for files. Here’s a simple command you can use:
find . -type f -exec md5 {} \; | awk -F '=' '{print $2 "\t" $1}' | sort | tee duplicates.txt
  1. Examine and Delete Duplicates: After the command runs, you’ll find a text file named duplicates.txt in your scanned folder. Open this file to view the list of duplicates. Each line will show a file path alongside its MD5 hash. Review this list to identify and manually delete any unnecessary duplicates by moving them to Trash.
find duplicate files on mac using terminal

Using Terminal to delete duplicate files gives you control and flexibility but requires caution to avoid deleting essential files unintentionally.

Always double-check before removing files, and consider backing up important data before performing bulk deletions.

This powerful method is recommended for more advanced users familiar with command-line operations.

Remove duplicate files on Mac using SpyHunter

For those looking for a straightforward and reliable way to eliminate duplicate files on their Mac, SpyHunter offers a robust tool designed explicitly for this purpose.

Here’s how to use SpyHunter’s Duplicate File Finder to clean up your system:

  1. Download SpyHunter from here and follow the instructions to install the app on your Mac.
  2. Once installed, open SpyHunter and initiate a duplicate file scan. This feature is designed to find all the files that are the same, helping you identify duplicates that consume unnecessary space.
  3. After the scan, SpyHunter will display a grouped list of duplicate files. Carefully review this list to confirm which files you want to remove.
remove duplicate files with spyhunter and free more storage
  1. Once you have selected the duplicates you wish to delete, you can instruct SpyHunter to remove them. This action will free up space and declutter your file system efficiently.
  2. After deleting the duplicates, verify that your system operates as expected. SpyHunter also offers features to clean up unnecessary files to ensure your Mac remains optimized.

Using SpyHunter helps remove duplicate files efficiently and enhances your system performance.

Its automated process reduces the risk of human error, making it a reliable choice for maintaining a clean and organized digital environment on your Mac.

Remove duplicates from your Photos Library

As our digital photo collections grow, managing and organizing them becomes increasingly challenging. One common issue many of us face is dealing with duplicate pictures.

These unnecessary copies clutter our photo library and take up valuable storage space.

Thankfully, there are straightforward steps you can follow to clean up these duplicates and keep your photo library organized and efficient.

  1. Launch the Photos App: Open the Photos app on your Mac. This is your central hub for managing all your photographic content.
  2. Find Duplicate Pictures: Look for a Duplicates section in the sidebar. This feature is handy for those running macOS Ventura or later versions, as it automatically detects duplicate photos in your library.
  3. Select Duplicates for Removal: Once you’ve identified the duplicates, the app will allow you to review them.
find the same photos in the photos app
  1. Merge or Delete Duplicates: You can merge the duplicates that have been identified. Merging keeps the highest quality photo and moves the rest to the Recently Deleted folder.
  2. Permanently Remove Duplicate Photos: To reclaim the storage space, empty the Recently Deleted folder. This permanently removes the duplicate photos from your Mac, ensuring they no longer occupy space.

It’s essential to regularly check for duplicates, especially after importing new batches of photos or merging photo libraries.

While the process is easy, it requires attention to detail to ensure no important memories are accidentally removed.

Regular maintenance of your digital photos library frees up valuable storage space and makes your collection more accessible and enjoyable to browse.

Find and delete duplicate music files

Managing your music library on a Mac can seem like a formidable task, especially when duplicates cloud your collection.

However, with a few simple steps, you can clean up your library, making navigating and enjoying your music easier.

Below, we’ll walk through a simple process to locate and erase duplicate music files directly within the Music app, ensuring your library remains crisp and enjoyable.

  1. Opening the Music Application: Begin by launching the Music app. On the sidebar to the left, click on Songs to view the song library.
  2. Finding Exact Duplicates: While holding the Option key, navigate to the File menu and hover the Library option. Select Show Exact Duplicate Items to view only the duplicates.
  3. Decision Time – Deleting Duplicates: Review each set of duplicate songs, deciding which to keep based on criteria like bit rate or personal preference.
find exact duplicates within the music app

Recognizing and removing duplicate files in your music library saves space and enhances your listening experience by eliminating unnecessary clutter.

Find duplicate files in the Mail folder

The Mail Downloads folder on your Mac can quickly become cluttered with multiple copies of the same files, especially if you frequently open mail attachments without cleaning up afterward.

Here’s how you can find and delete duplicate files in this specific folder:

  1. Locate Mail Downloads: Open Finder, then click Go in the menu bar at the top of your screen. From the drop-down menu, choose Go to Folder and type ~/Library/Containers/com.apple.mail/Data/Library/Mail Downloads in the search field.
find email duplicate files on mac
  1. Search for Duplicates: In the Mail Downloads folder, use the search bar at the top right of the Finder window to help identify duplicates. You can type in specific file names or extensions to see if multiple copies of the same file exist.
  2. Manually Review Files: Scroll through the list and look for files with similar names, sizes, or dates. MacOS does not automatically tag duplicates, so this step requires careful examination to ensure you don’t accidentally delete any critical files.
  3. Delete Duplicates: Once you’ve confirmed which files are duplicates, select them and drag them to the Trash.
  4. Empty the Trash: To free up the space occupied by these duplicates, empty the Trash bin.

Regularly checking and cleaning the Mail Downloads folder can prevent it from using unnecessary disk storage and keep your system more organized. This routine is especially beneficial for users who receive many attachments via email.

FAQs

Does Mac have a duplicate file finder?

No, macOS does not come with a built-in duplicate file finder. Mac users must rely on third-party applications like SpyHunter or use manual methods like creating Smart Folders in Finder or using Terminal commands to identify and remove duplicate files.

What is the easiest way to find duplicates on a Mac?

The easiest way to find duplicates on a Mac is by using third-party software designed for this purpose. Applications like SpyHunter feature a Duplicate File Scanner that automates the process, making identifying and removing duplicate files straightforward and hassle-free.

Is there a way to quickly delete duplicate files?

The quickest way to delete identical files on a Mac is to use dedicated duplicate file removal software. These tools scan your storage, identify duplicates, and allow you to remove them with just a few clicks, saving time and ensuring you don’t accidentally delete important files.

Why are there so many duplicate files on my Mac?

Duplicate files on a Mac can accumulate for various reasons:

  • downloading the same file multiple times
  • duplicating files for backup
  • syncing errors with cloud services
  • multiple installations of the same apps.

Over time, these files can take up a significant amount of space and clutter your system. Regular maintenance and clean-up using appropriate tools can help manage and reduce duplicates.

Summary

Managing duplicate files on your Mac is essential to maintaining an organized system and ensuring efficient use of storage.

Whether you’re dealing with duplicate images, documents, or media files, understanding how to find and remove these duplicates is crucial.

This article explored various methods, including using Finder’s Smart Folders, Terminal commands, third-party duplicate finder like SpyHunter, and checking specific folders like Mail Downloads.

Regularly employing these strategies to find and delete duplicate files can reclaim valuable disk space and maintain a cleaner, more streamlined Mac environment.

Whether you choose manual methods or automated tools, the key is consistent maintenance to prevent the buildup of unnecessary files.

Keep your Mac free of duplicates to ensure it runs smoothly and efficiently.

Share this post on your favorite social media
Keep Your Mac Fast and Secure
Optimize your Mac and stay malware-free with SpyHunter

For a better understanding of our policies, please review our Free Trial Offer below, EULA, and Privacy/Cookie Policy.

SpyHunter Free Trial: Important Terms & Conditions

The SpyHunter Trial version includes, for one device, a one-time 7-day Trial period for SpyHunter 5 Pro (Windows) or SpyHunter for Mac, offering comprehensive malware detection and removal functionality, high-performance guards to actively protect your system from malware threats, and access to our technical support team via the SpyHunter HelpDesk. You will not be charged upfront during the Trial period, although a credit card is required to activate the Trial. (Prepaid credit cards, debit cards, and gift cards are not accepted under this offer.) The requirement for your payment method is to help ensure continuous, uninterrupted security protection during your transition from a Trial to a paid subscription should you decide to purchase. Your payment method will not be charged a payment amount upfront during the Trial, although authorization requests may be sent to your financial institution to verify that your payment method is valid (such authorization submissions are not requests for charges or fees by EnigmaSoft but, depending upon your payment method and/or your financial institution, may reflect on your account availability). You can cancel your Trial by contacting EnigmaSoft’s payment processor (identified in your confirmation email) or EnigmaSoft directly no later than two business days before the 7-day Trial period expires to avoid a charge coming due and being processed immediately after your Trial expires. If you decide to cancel during your Trial, you will immediately lose access to SpyHunter. If, for any reason, you believe a charge was processed that you did not wish to make (which could occur based on system administration, for example), you may also cancel and receive a full refund for the charge any time within 30 days of the date of the purchase charge. See FAQs.

At the end of the Trial, you will be billed upfront immediately at the price and for the subscription period as set forth in the offering materials and registration/purchase page terms (which are incorporated herein by reference; pricing may vary by country per purchase page details) if you have not timely canceled. Pricing typically starts at $72 for 3 months (SpyHunter Pro Windows) and $42 for 3 months (SpyHunter for Mac). Your purchased subscription will be automatically renewed in accordance with the registration/purchase page terms, which provide for automatic renewals at the then applicable standard subscription fee in effect at the time of your original purchase and for the same subscription time period, provided you’re a continuous, uninterrupted subscription user. Please see the purchase page for details. Trial subject to these Terms, your agreement to EULA/TOS, Privacy/Cookie Policy, and Discount Terms. If you wish to uninstall SpyHunter, learn how.

For payment on the automatic renewal of your subscription, an email reminder will be sent to the email address you provided when you registered before your next payment date. At the onset of your trial, you will receive an activation code that is limited to use for only one Trial and for only one device per account. Your subscription will automatically renew at the price and for the subscription period in accordance with the offering materials and registration/purchase page terms (which are incorporated herein by reference; pricing may vary by country per purchase page details), provided that you are a continuous, uninterrupted subscription user. For paid subscription users, if you cancel, you will continue to have access to your product(s) until the end of your paid subscription period. If you wish to receive a refund for your then current subscription period, you must cancel and apply for a refund within 30 days of your most recent purchase, and you will immediately stop receiving full functionality when your refund is processed.

For CALIFORNIA CONSUMERS, please see the notice provisions:
NOTICE TO CALIFORNIA CONSUMERS: Per the California Automatic Renewal Law, you may cancel a subscription as follows:

  1. Go to www.enigmasoftware.com and click the "Login" button at the top right corner.
  2. Log in with your username and password.
  3. In the navigation menu, go to "Order/Licenses." Next to your order/license, a button is available to cancel your subscription if applicable. Note: If you have multiple orders/products, you will need to cancel them on an individual basis.

Should you have any questions or problems, you can contact our EnigmaSoft support team by phone at +1 (888) 360-0646 (USA Toll-Free) / +353 76 680 3523 (Ireland/International) or by email at support@enigmasoftware.com.
How do you cancel a SpyHunter Trial? If your SpyHunter Trial was registered via MyCommerce, you can cancel the trial via MyCommerce by logging into the MyAccount section of MyCommerce (see your confirmation email for further details). You can also contact MyCommerce by phone or email to cancel. To contact MyCommerce via phone, you can call +1-800-406-4966 (USA Toll-Free) or +1-952-646-5022 (24x7x356). You can contact MyCommerce by e-mail at ordersupport@mycommerce.com. You can easily identify if your trial was registered via MyCommerce by checking the confirmation emails that were sent to you upon registration. Alternatively, all users may also contact EnigmaSoft Limited directly. Users can contact our technical support team by emailing support@enigmasoftware.com, opening a ticket in the SpyHunter HelpDesk, or calling +1 (888) 360-0646 (USA) / +353 76 680 3523 (Ireland/International). You can access the SpyHunter HelpDesk from SpyHunter's main screen. To open a support ticket, click on the "HelpDesk" icon. In the window that appears, click the "New Ticket" tab. Fill out the form and click the "Submit" button. If you are unsure of what "Problem Type" to select, please choose the "General Questions" option. Our support agents will promptly process your request and respond to you.

———

SpyHunter Purchase Details
You also have the choice of subscribing to SpyHunter immediately for full functionality, including malware removal and access to our support department via our HelpDesk, typically starting at $42 for 3 months (SpyHunter Basic Windows) and $42 for 3 months (SpyHunter for Mac) in accordance with the offering materials and registration/purchase page terms (which are incorporated herein by reference; pricing may vary by country per purchase page details). Your subscription will automatically renew at the then applicable standard subscription fee in effect at the time of your original purchase subscription and for the same subscription time period, provided you’re a continuous, uninterrupted subscription user and for which you will receive a notice of upcoming charges before the expiration of your subscription. Purchase of SpyHunter is subject to the terms and conditions on the purchase page, EULA/TOS, Privacy/Cookie Policy and Discount Terms.

———

General Terms
Any purchase for SpyHunter under a discounted price is valid for the offered discounted subscription term. After that, the then applicable standard pricing will apply for automatic renewals and/or future purchases. Pricing is subject to change, although we will notify you in advance of price changes.
All SpyHunter versions are subject to your agreeing to our EULA/TOS, Privacy/Cookie Policy, and Discount Terms. Please also see our FAQs and Threat Assessment Criteria. If you wish to uninstall SpyHunter, learn how.