Seguro que a muchos de vosotros se os ha presentado la situación de tener que buscar duplicados en vuestros sistemas GNU/Linux, ya sea en local o en red.
Buscando por la red puedes encontrar utilidades ya sea para la línea de comandos o con GUI. La cosa es que yo suelo utilizar fdupes.
Esta utilidad nos permite buscar y, si los encuentra, borrar los ficheros duplicados en nuestros discos.
Instalar esta utilidad en (K)Ubuntu es tan sencillo como:
sudo apt-get install fdupes
Una vez instalado sólo debemos ejecutarlo sobre la unidad que queramos y esperar el resultado.
bdispatcher@laptop:~$ sudo fdupes -r /home/bdispatcher/docs/web/
/home/bdispatcher/docs/web/backup/diptico_trip.FH11
/home/bdispatcher/docs/web/diptico_trip.FH11
/home/bdispatcher/docs/web/backup/fonfo1.jpg
/home/bdispatcher/docs/web/fonfo1.jpg
/home/bdispatcher/docs/web/backup/NORMAL
/home/bdispatcher/docs/web/NORMAL
/home/bdispatcher/docs/web/backup/Gothic.TTF
/home/bdispatcher/docs/web/Gothic.TTF
/home/bdispatcher/docs/web/diptico_trip.FH11
/home/bdispatcher/docs/web/backup/fonfo1.jpg
/home/bdispatcher/docs/web/fonfo1.jpg
/home/bdispatcher/docs/web/backup/NORMAL
/home/bdispatcher/docs/web/NORMAL
/home/bdispatcher/docs/web/backup/Gothic.TTF
/home/bdispatcher/docs/web/Gothic.TTF
Cómo muchos de vosotros supondréis, fdupes hace uso del MD5 de los ficheros para ver si se encuentran duplicados o no.
Para más info sobre el uso de este comando, you know, man.
Probably most of you have wondered yourselves about the amount of disk wasted becouse of duplicate files on your GNU/Linux systems.
You could find some utils searching the web, but I'll reccomend you fdupes which would allow you to search and delete, if exists, the duplicate files on your filesystem.
To install this utility on your K(Ubuntu) system you only have to type is:
sudo apt-get install fdupesOnce installed, you just have to run it and wait for the result:
bdispatcher@laptop:~$ sudo fdupes -r /home/bdispatcher/docs/web/
/home/bdispatcher/docs/web/backup/diptico_trip.FH11
/home/bdispatcher/docs/web/diptico_trip.FH11
/home/bdispatcher/docs/web/backup/fonfo1.jpg
/home/bdispatcher/docs/web/fonfo1.jpg
/home/bdispatcher/docs/web/backup/NORMAL
/home/bdispatcher/docs/web/NORMAL
/home/bdispatcher/docs/web/backup/Gothic.TTF
/home/bdispatcher/docs/web/Gothic.TTF
/home/bdispatcher/docs/web/diptico_trip.FH11
/home/bdispatcher/docs/web/backup/fonfo1.jpg
/home/bdispatcher/docs/web/fonfo1.jpg
/home/bdispatcher/docs/web/backup/NORMAL
/home/bdispatcher/docs/web/NORMAL
/home/bdispatcher/docs/web/backup/Gothic.TTF
/home/bdispatcher/docs/web/Gothic.TTF
As you could guess fdupes use MD5 to find out if two files are the same.
To get more info about this command, you know, man. PS. I know, I know. My English is not good enought but, the more you help me, the more I learn.