duff – find duplicate files.

2013-03-19 1 min read Fedora

duff – description:

 

Description : Duff is a command-line utility for quickly finding d

AURA Console
AURA Console (Photo credit: jameswatts.solfenix)

uplicates in a
given set of files

 

and now time to execute :

 

find . -type f -print0|duff -e0|xargs -0

 

This will print a list of duplicate files. If you directly want to delete them then you can use them in a rm command directly like ::

 

rm $(find . -type f -print0|duff -e0)

 

 

Enhanced by Zemanta
comments powered by Disqus