How to Find and Remove Duplicate Files on Mac

It is hard to keep track of all the files on your Mac, especially if you are constantly downloading things. After using the computer for a while, you could have gotten a lot of duplicate files without even noticing. These files take up space and can even slow down your computer. It is necessary to find and delete them from time to time in order to speed up your Mac and make space for other new files.

Of course, you can use the most basic method by going through every folder manually, but this will take a tremendous amount of time. In this tutorial, we will show you a few alternative methods to find and delete the duplicate files on your Mac more effectively.

Find and Delete Duplicate Files with Smart Folder

  1. Open Finder.
  2. From the Menu bar, go to File – New Smart Folder.
  3. Click the + icon on the top right corner to start a new search.
    Start a new search with Smart Folder
  4. You can use the filter to find files through their names, types, sizes, and so on. You can also create several filters at the same time to further narrow down the search.
    Use filters to narrow down the search

Find and Remove Duplicate Files with Terminal

If you have experience with Mac Terminal, using command lines or scripts can also be a fast option to identify duplicate files. You can follow the following steps:
1. Command+Space to launch Spotlight.
2. Type Terminal **to run Terminal Application.
3. Type **cd ~/Folder Name
to navigate to the folder you want to scan. For example, you can type cd ~/Downloads and hit return to move to the Downloads directory.
4. Copy and paste the following command lines and hit enter.
find . ! -type d -exec cksum {} \; | sort | tee /tmp/f.tmp | cut -f 1,2 -d ‘ ‘ | uniq -d | grep -hif – /tmp/f.tmp > duplicates.txt
The command lines will generate a text file to the folder you’ve specified.
find duplicate files with command lines
Note:
1. The text file only list all the duplicate files path names, so the list might be rather long.
2. If you want to delete those files, you will need to manually navigate to those files and manually delete them.
3. Keep in mind that only if you are familiar with the command lines, otherwise you might meet some issues with your Mac.

Delete Duplicates with One Click

Although Smart Folder can be very helpful, it still requires you to have a general picture of what kinds of duplicate files exist on your Mac. However, most of the time, we cannot remember the exact files that have been duplicated. If you want to find and delete duplicate files effectively, it is better to use a third-party app.
Cleaner One Pro is an all-in-one tool for Mac cleaning and performance optimization. The Duplicate Files feature will scan and find duplicate files in your selected folders automatically, saving you time from searching Smart Folder manually.
Scan for duplicate files
After the scan, it offers a preview of the duplicate files so you can check again before deleting.
Preview the contents before deleting duplicate files
With other strong features such as Smart Scan, Junk Files, and real-time monitoring for your CPU and Network usage, Cleaner One Pro will make sure your Mac is always at its best performance.

2 Comments

  1. Meera June 8, 2021
  2. Orest October 5, 2021

Add Comment