Find duplicates of specific file(s)

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
toaster
Junior Member
Junior Member
Posts: 2
Joined: 2019-08-08, 08:53 UTC

Find duplicates of specific file(s)

Post by *toaster » 2019-08-08, 09:03 UTC

How can I find all duplicates of certain file? Not for duplicates of all files like in "Serach -> Advanced -> Find duplicate files". I need a way to search all duplicates of specific file(s).
I wonder if TC (plugin?) can search file by its hash(es), for example MD5. It should be sufficient.

Edit: Note that duplicates can have different filenames and even different extensions. Feature that I need should compare content (or hash) only.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38408
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Find duplicates of specific file(s)

Post by *ghisler(Author) » 2019-08-08, 09:18 UTC

I would use a plugin which calculates a checksum, e.g.
http://totalcmd.net/plugring/LotsOfHashes.html
Then calculate the checksum of the file you search, and then
search for
tc - size = <size of the file>
hashplugin - the hash you want = <hash of the file>

The size check is important, otherwise you would calculate the hash for thousands of files for nothing.
Author of Total Commander
http://www.ghisler.com

toaster
Junior Member
Junior Member
Posts: 2
Joined: 2019-08-08, 08:53 UTC

Re: Find duplicates of specific file(s)

Post by *toaster » 2019-08-08, 09:57 UTC

Thanks. Works like a charm.

Post Reply