Fdupes - A Duplicate File Removal Tool
Fdupes is another CLI tool that I use frequently to automatically find and remove duplicate files. It does this by generating and comparing the md5sum of the files within the specified folder. This is the fastest duplicate file checker that I have ever used.
If you are using Ubuntu, you can install fdupes by executing:
sudo apt-get install fdupes -y
fdupes --recurse --delete /path/to/directory
Alternatively, the shorthand would be:
fdupes -rd /path/to/directory
First published: 6th January 2019