Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 1998 20:22:54 +0100
From:      Karl Pielorz <kpielorz@tdx.co.uk>
To:        questions@FreeBSD.ORG
Subject:   Removing duplicate files?
Message-ID:  <3571AE0E.8F9E5AED@tdx.co.uk>

next in thread | raw e-mail | index | archive | help
Hi All,

Is there any way (or some hints on a shell script or something) to remove
duplicate files in a massive directory tree?

Some software I have creates 'message files' with non-descript names, but
theres loads (read hundreds) of duplicate messages, all with different
filenames...

What I need to be able to do is remove all the duplicate files (even though
they may not have duplicate file names)...

The only thing I could think of was to MD5 the whole lot, sort the list of
MD5 checksums and then go nuking... ;-)

Unless theres some other utlitiy or something I've not heard of?


Regards,

Karl Pielorz

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3571AE0E.8F9E5AED>