Fdupes is a command line utility for Linux that can help you find duplicate files whatever the name used. In this article, we will see how to install and use Fdupes on Ubuntu.
Launch the terminal and issue this command:
sudo apt-get install fdupes
Here is an example of how to use Fdupes to find duplicate files inside a directory and its all sub-directories:
fdupes -r folder
Replace 'folder' with the name of the folder you want to scan. The '-r' option is used to force fdupes to scan all files stored in a directory and sub-directories.
To compare two directories with fdupes, run, simply, this command:
fdupes -r folder1 folder2