![]() ![]() It is free and open-source and written in C. Fdupes – Scan for Duplicate Files in Linuxįdupes is another program that allows you to identify duplicate files on your system. To check other useful options of rdfind you can use the rdfind manual with. $ rdfind -deleteduplicates true /home/user $ rdfind -makehardlinks true /home/userĪnd if you wish to delete the duplicates you can run. When you find the duplicates, you can choose to replace them with hard links. You can review the file and remove the duplicate files manually if you want to.Īnother thing you can do is to use the -dryrun an option that will provide a list of duplicates without taking any actions: $ rdfind -dryrun true /home/user 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |