Saturday, January 7, 2012

Duplicates of files on Debian Linux

I can find a duplicate or duplicates of files using:


fdupes -r /left /right  

where files in the left and right directories are compared with using MD5SUM. The tool will find files recursively, that is, looking for files in the other directories in the left and right directories.

I can also use:


fdupes -rd /left /right



where a duplicate or duplicates will be deleted. Only one copy will be preserved.

This information was compiled using this page.



No comments: