
The file contains all the duplicate files that rdfind has found. Here is an example: $ rdfind /home/userĪs you can see rdfind will save the results in a file called results.txt located in the same directory from where you ran the program. To run rdfind on a directory simply type rdfind and the target directory.

$ sudo yum install epel-release & $ sudo yum install rdfind To install rdfind in Linux, use the following command as per your Linux distribution. The last rule is used particularly when two files are found in the same directory.

If you are using a new tool, first try it in a test directory where deleting files will not be a problem.
#SEARCH AND REMOVE DUPLICATE FILES MAC HOW TO#
In this tutorial, you are going to learn how to find and delete duplicate files in Linux using rdfind and fdupes command-line tools, as well as using GUI tools called DupeGuru and FSlint.Ī note of caution – always be careful what you delete on your system as this may lead to unwanted data loss.

This may cause your directories to become cluttered with all kinds of useless duplicated stuff. Often you may find you have downloaded the same mp3, pdf, epub (and all kind of other file extensions) and copied it to different directories. Organizing your home directory or even system can be particularly hard if you have the habit of downloading all kinds of stuff from the internet.
