duff – find duplicate files.

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

1 thought on “duff – find duplicate files.”