[Chugalug] Duplicate file finder

Dan Lyke danlyke at flutterby.com
Fri Aug 2 20:11:36 UTC 2013

On Fri, Aug 2, 2013 at 12:38 PM, John Aldrich <jmaldrich at yahoo.com> wrote:

> Now if only it would find files that have the same MD5 hash, but different
> names so that I could find where I have multiple copies of the same file
> under different names. :D

find . -type f -print | xargs md5sum | sort | perl -nale 'print "$lastfile
is the same as $F[1]" if ($F[0] eq $lastmd5); ($lastmd5, $lastfile) = @F;'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://chugalug.org/pipermail/chugalug/attachments/20130802/36b9799c/attachment.html>

More information about the Chugalug mailing list