Find duplicate files in linux

fdupes and fslint are good tools. Both use md5 hash or/and size to compare files and then identify duplicates. fdupes is commendline too, fslint has nice user  GUI. My personal preference is fdupes. As I can use the out for further process.

Install

sudo apt-get install fdupes  # for ubuntu

or

sudo yum install  fdupes #for fedora

use of fdupes, there are many options, use fdupes –help to find detail. my use is simple

fdupes  ~/DIR -r -S > dupes.txt

 

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s