
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 A was found earlier than B, A is higher ranked.If A was found at a depth lower than B, A is higher ranked.

#Ubuntu dupeguru in bash command line 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.
