Say I have a folder named container and there are many files/sub-folders in it. I would like to find all the files with the same content (they can have different names but the content should be the same).
Is there any way I can do this on Mac?
filemacos
Say I have a folder named container and there are many files/sub-folders in it. I would like to find all the files with the same content (they can have different names but the content should be the same).
Is there any way I can do this on Mac?
Best Answer
If you're comfortable using the Terminal, you can try
rdfind
which purpose is precisely to find duplicate files.You'll need to install it with Homebrew first:
brew install rdfind
Then, let's say you want to run a dry test on your
~/Download
folder:-n true
is for dry mode: no files will be affected-outputname result.log
will output the scanning into that file~/Downloads/
is the argument of the root folder you want to scan (you can pass more than one folder)Running that command will look something like that:
Or, you can use an application with a graphical interface like dupeguru: