fdupes – A Comamndline Tool to Find and Delete Duplicate Files in Linux

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

12 Responses

  1. Gordy says:

    FsLint is better and easier to use

  2. Anastasia says:

    I have tried this software known as Duplicate Files Deleter. It works really well. It is fast and easy and clears up a lot of space.

  3. lbd says:

    In section 7, you say -d specifies what to delete, when in fact, the prompt is to specify what to preserve. What is not preserved is deleted. In your example, there are 15 files that are identical. If I select 1, it is preserved and the other 14 are deleted.

  4. rewanya says:

    I use Duplicate Files Deleter as it is very effective. It is 100% accurate and performs the scan quickly.

  5. Dan the Man says:

    A tool to find duplicates will be quite useful for us. Of course, it should not delete any files, but replace identical files with hard links to the same inode. (the files to be compared already have their MD5 checksums computed).

    • Avishek Kumar says:

      Thanks @Dan the Man, for finding this post useful. You have the option to find the duplicates with hard link and then to delete or not-to-delete. This is a very nice utility and most importantly, the approach to find duplicates is very good. Thinking to write a tool of myself for this purpose.
      Keep connected for more such posts.

  6. JC says:

    This is a great tool. It would be neat to have an option to replace the copy with links to the original. I suppose this could be scripted from the log file that is generated.


    • Avishek Kumar says:

      Dear JC,
      You can use the flag ‘-d’ to delete the duplicates. I will suggest you to go through point – 7.
      Keep connected for more such posts.

  7. Praduman says:


  8. xhark says:

    Thank you for the tip
    in title “Comamndline” => “command Line”

    • Avishek Kumar says:

      Ah! that’s a conversion error. Thanks for your feedback. Asking admin to correct “Commandline” in heading as “command line” or “command-line”.
      Keep connected @xhark.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?