On Mon, 30 Sep 2002, Trev wrote: ... > I want to find duplicate files in the same partition and rm them, some may > have the same name but have a different size/date/time. ...
Hi Trev, Besides the "find" solution proposed by Tim there is one more really nice tool for finding duplicates based only on the content of the files: fdupes by Adrian Lopez. It simply calculates the MD5 sum for every file and compares them, and then prints a list of duplicates. With the properties of the MD5 function, it is extremely unlikely that two files produce the same number if their content is not perfectly the same. Of course, fdupes will also mark all the very short files containing only a single - but the same - byte, as duplicates, as well as it will mark all zero length files as duplicates. But that is no big issue in practical use - I find it extremely useful. Regards, Helmut. +----------------+ | Helmut Walle | | [EMAIL PROTECTED] | +----------------+
