
Duplicate File Finder

Ways to find duplicate files on a Mac:
- Use third-party software
- Use Smart Folder in Finder
- Use Terminal
- Remove duplicates in Photos Library
- Find duplicate mail downloads
- Find copies in iTunes
A comparison table of free ways to detect duplicates
Use Duplicate File Finder | Use Smart Folder in Finder | Use Terminal | Use a built-in option in Photos | |
---|---|---|---|---|
Cost | Free (additional features for organizing files available for in-app purchase) |
Free | Free | Free (available in macOS Monterey and later versions only) |
Time | 2-3 min (depending on the volume of the disk you scan) |
Hours (it may take hours to compare files manually) |
Hours (it may take hours to open each file for removal manually) |
2-3 min (the first time it may take up to 10 minutes) |
Support of types of files | All types of files (including duplicate folders) |
All types of files except photos and music files in Media Libraries | All types of files except photos and music files in Media Libraries | Only pictures in the Photos Library |
Finding similar files | + (It finds similar photos, music, folders) |
– | – | – |
Support of disks | Mac hard drive, any specific folder, any external drive, or network drive | Only Mac hard dive | Only Mac hard dive | Only media files in the Photos app |
Why do duplicate files appear on my Mac?
Usually, we don’t notice duplicate files until our Mac runs low on storage or we find the same documents, photos, or downloads scattered across multiple folders. These copies can accumulate for many reasons:- accidentally saving the same file twice
- importing photos multiple times
- re-downloading attachments we couldn’t find
- iCloud sync issues can also create extra copies when files don’t merge correctly between devices
Find duplicates on Mac using Duplicate File Finder
An effective and time-saving solution to remove duplicate content on Mac is to use a free application Duplicate File Finder. The application has a complex search algorithm that automatically identifies exact duplicate photos, videos, music, documents, and other common types of files. Also, the application finds similar folders, photos, and audio files, helping you clear all unneeded copies.Video Guide: How the app works
How to use the app:- Download and launch the app.
- Choose the folders you want to scan and click on Find Duplicates.
- Once the scan is completed, you’ll see the list of all your duplicate files.
- Select the items you want to delete.
- Click on Review to Remove and confirm the action.
Find duplicates using a Smart Folder in Finder
You can use the Smart Folder option in Finder to manually find duplicate files on Mac. Before we start explaining how to search for duplicate files on Mac with Finder, note that this is usually time-consuming, and you will have to compare every file that seems to be a duplicate manually. However, if you prefer not to use any third-party tool, follow the guide below.
How to use Smart Folder:- Open Finder.
- Go to the Finder menu → click on File → select New Smart Folder.
- Click the Plus button in the top right corner and select Search parameters: Kind, Date, Name, File type, and other parameters.
- Sort the files by size.
- Now open each file with the same name or size and check whether their data is duplicated.
Find duplicates on Mac using Terminal
One more way to find duplicate files is by using the Terminal command line. With a special command, you can scan specific directories. The system will compare file sizes and MD5 signatures, followed by a byte-by-byte comparison for verification. Here’s how to do it:- Open the Terminal app.
- Type the path to the folder which you want to check for duplicates. For example, if you want to scan Documents/Folder, type the following:
cd Documents/Folder
- Press Enter.
- Then type this command and press Enter: find ./ -type f -exec md5 {} \; | awk -F ‘=’ ‘{print $2 “\t” $1}’ | sort | tee duplicates.txt
- Your system will start checking all files in the current folder for identical files. It will generate a list of them.
- Then you’ll need to find and delete unneeded copies manually.
How to find duplicate pictures in the Photos Library
Please note, that when you import photos from your Mac’s hard drive to the Photos app, you automatically create duplicates. In this case, the system does not move the photos, it creates copies in the Photos library. Here is how to find duplicates in the Photos app:
- Launch the Photos app.
- Click Duplicates in the sidebar. It may require some time to scan your library for duplicates.
- Once the scanning is complete, you’ll see the list of repeating photos.
- Select and remove unneeded items.
- Note that by default, the system does not remove them to Trash, it moves them to the Recently Deleted folder in Photos. So, don’t forget to empty this folder for complete removal.
How to find duplicate Mail downloads
By default, when you open a file or document from Mail attachments, the system automatically saves it to the hidden Mail Downloads folder. This folder can be found in the system Library → Containers. However, when you click to download and save this file in any folder on your Mac, as a result, you have two copies of the file on your hard drive.Well, you hadn’t saved the file twice, but the system had done this for you. If this happens often, your disk might be cluttered with duplicates in the Mail Downloads folder. Learn how to use Finder to spot duplicates (folders and files) and remove them.
- Open Finder.
- Press Shift+Command+G and you will see the Go to Folder search field.
- Copy and paste the directory below and press Enter.
~/Library/Containers/Mail.mail
- In this folder, you can find all Mail attachments. Find the downloaded file and remove it.
How to find duplicate songs in iTunes (Music app)
No matter if you have an old version of macOS and use iTunes or the Music app, the steps for finding duplicate songs in both versions are the same.
- Launch the Music app or iTunes.
- In the menu bar, click on File → Library.
- Click on Show Duplicate Items. You will see the list of repeating music files.
Conclusion:
Using a duplicate finder is the best way to clean up your Mac. The application supports any storage, including external cloud storage and external hard drives. It’s easy to use, it’s fast and safe. The best thing about the app is that it’s free to use. The in-App purchase is required only if you need additional Pro options for organizing your duplicate files.Frequently asked questions
Does Mac have a duplicate finder?
Apple doesn’t provide any default tool to locate duplicate files on your disk. However, you can use a free software tool from Nektony called Duplicate File Finder.
What is the Duplicate command on a Mac?
You can create duplicates on your Mac using the context menu. Right-click the file and select the appropriate option to create a duplicate copy. Alternatively, you can use the Option key. To select a file in a particular folder, press the Option key → click on the file, and drag the file within this folder.
What is the best free duplicate finder?
We recommend using the best Duplicate File Finder developed by Nektony. It’s a great tool to clean up your duplicate files. Also, in our previous article, you can find a comparison table of duplicate finders for a Mac.