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.
Installation
If you are using Ubuntu, you can install fdupes by executing:
sudo apt-get install fdupes -y
Common Usage
fdupes --recurse --delete /path/to/directory
Alternatively, the shorthand would be:
fdupes -rd /path/to/directory
Last updated: 7th June 2022
First published: 6th January 2019
First published: 6th January 2019