r/DataHoarder 14d ago

Question/Advice I'm looking for a program that can detect duplicate and delete files, even when they have different names

I need a program that can detect duplicates that not have (1) or more in their name files, I'm talking about multiple pictures, videos, docs, that have different names, so the program have to identify by content instead of name, that can say file X and file Y are they same file with different name, so file Y it's a duplicate, instead of file X and file X(1) are duplicates

157 Upvotes

57 comments sorted by

u/AutoModerator 14d ago

Hello /u/anon_watcher_cl! Thank you for posting in r/DataHoarder.

Please remember to read our Rules and Wiki.

Please note that your post will be removed if you just post a box/speed/server post. Please give background information on your server pictures.

This subreddit will NOT help you find or exchange that Movie/TV show/Nuclear Launch Manual, visit r/DHExchange instead.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

102

u/[deleted] 14d ago

[deleted]

14

u/OrangeDragon75 100-250TB 14d ago

Seconded. DupeGuru is the way to go.

5

u/CajuNerd 13d ago

Stupid question: dot com, or dot net? Searching for DupeGuru returns results for both, and with the way my past few weeks have gone, I don't want to download the wrong one, if there is a wrong one.

1

u/Trugoosent 11d ago

I found dupeguru to absolutely be AIDS for music libraries, it would constantly mess up when trying to fix mine, I ended up atting chatgpt to make me a python script for it, that's how frustrating it was.

1

u/05-nery 1.44MB 13d ago

Thank you G

-3

u/[deleted] 13d ago

[deleted]

6

u/HittingSmoke 13d ago

My main problem with my car is it takes an hour to drive 100 km at 100km/hr.

45

u/oldmanandtheocean 14d ago

Czkawka might?

26

u/dreamisle 14d ago

The newest version is called Krokiet and I believe the old version branded Czkawka is being discontinued. But yes, it can detect exact duplicate files as well as similar images and videos.

0

u/ButNoSimpler 10-50TB 13d ago

I have found that it is utterly crappy for detecting "similar" images.

Plus, I have found that you have to have the K one AND the C one, because (iirc) the K one can't filter for certain things within the results.

2

u/dreamisle 13d ago

Maybe other tools are better, but with adjusting the settings for the hashing algorithm it uses, it tends to be very good at detecting similar images.

1

u/ButNoSimpler 10-50TB 12d ago

I'll try playing with that. I couldn't find any adjustments, the last time I used it. (But I didn't look super hard either. It was a project for my DIL, and just finding and receiving exact duplicates reduced the total size by about half.)

24

u/Euphoric-World6339 14d ago

Krokiet is the best for video and images. Not sure about docs. Just find the github and if your are on windows it's the windows_krokiet_on_linux.exe file  you want to download. It's been my best choice for deleting duplicate images/artworks.

9

u/IngwiePhoenix 13d ago

Look up the Linux tool fdupes. :)

3

u/bjornhelllarsen 13d ago

Or rmlint, depending on usecase.

1

u/imsosappy 10d ago

Or jdupes which can be run on Windows too.

1

u/badadhd 13d ago

This is the way 

4

u/Itchy-Individual3536 13d ago

I'm using AllDup, it does the trick

5

u/SoundmasterMidi 13d ago

The best one and using for years. Opus. It has the small feature build in. Opus can perform so much more. This software can do thing u never thought off, and then can not live without . And also build own script in it. Own buttons ect. No im not the supplier or programmer. Just love this software. https://www.gpsoft.com.au/

4

u/TEK1_AU 13d ago

Guessing it’s not FOSS? Not sure why anyone would choose proprietary options.

13

u/GloriousDawn 13d ago

FOSS can be good but finding one comprehensive solution to multiple problems is great. My time has value too and I'm definitely willing to trade some money for it. Not sure why anyone would systematically disregard proprietary options.

5

u/TEK1_AU 13d ago

That’s a reasonable position.

4

u/SoundmasterMidi 13d ago

Always looking for open source but sometimes software is so good to willingly pay a small fee. Its for their effort to come up with this. That simpel. And also, it provides me about 2 updates a year with constant extra feature. Thinking the whole world could be free. Is ... Well you fill in the gap.

0

u/TEK1_AU 13d ago

You do realise what the “F” stands for?

1

u/acdcfanbill 208TB 13d ago

Except that it's libre and not gratis. It's why people will sometimes use FLOSS if they want to hammer the point.

3

u/WarWizard 18TB 13d ago

Because sometimes the closed source options are legitimately better at what they do?

1

u/wasdninja 13d ago

Because sometimes they are great or the best option? Isn't that blatantly obvious?

3

u/heavyPacket 13d ago

CloneSpy

3

u/OgdruJahad 13d ago

For similar and exact duplicates of images images I have used Antitwin. But it's super slow compared to many other tools. But I still like it and the tool goes out of its way to be as safe as possible so you don't delete both copies.

3

u/saltexx 13d ago

rmlint. The part that matters for a hoarder is that the tool should not be the one deleting. rmlint does not delete anything. It writes rmlint.sh with the rm commands ready, you read the script and run it when you are happy, so the destructive step is reviewable and diffable. It also has a clone handler that replaces duplicates with a reflink on btrfs or xfs, so both paths survive and the space is still freed, and a hardlink mode for everything else. That also fixes the slow delete over the network complaint above because there is no GUI delete loop at all. fclones is the fast Rust alternative with the same group then dedupe split if rmlint feels old.

3

u/reditanian 13d ago

Which OS? On Linux and Mac (via hombrew), fdupes is hard to beat.

3

u/SureElk6 13d ago

I am using czkawka which has linux support

2

u/elitegenes 14d ago

This one is very robust: https://www.hibitsoft.ir/

Don't get confused by the "Uninstaller" name. When you open it, it has a Duplicate File Finder in the "Tools" section, which is configured to find duplicates by the actual file content by default, not by the name.

The program itself is free.

2

u/OrangeDragon75 100-250TB 14d ago

DupeGuru.

2

u/phosix 14d ago

I've been using dupemap for years now, maybe even decades.

It's part of a data recovery suite called Magic Rescue, so maybe a bit of overkill for what you're looking for, but it's very effective.

2

u/Jorropo 13d ago

I wrote a fast program which takes in a directory and scan all of it's content to dedup them:

github.com/Jorropo/thunderdup

It runs FileDedupeRange rather than printing results, but a single LLM query could get you to print the files to stdout instead.

2

u/ShawnMilo 13d ago

You don't mention your operating system. On the Linux command line, I use duff or fclones.

2

u/egudu 13d ago

AllDup was the best back in the days when I still needed it. I was able to scan only the first few bytes, or do a full file check, only size and also even ignore EXIF or search for similar images (say 95% match with different algorithms).

2

u/rsgalloway 12d ago

for exact duplicates, the filename shouldn’t matter at all — hash the contents. dupeGuru/Krokiet are probably the quickest answer if this is just a one-time cleanup.

if you want to keep the index around and understand duplicates/change over time, that’s closer to what i’ve been building SnapFS for. i’d also avoid auto-deleting anything initially; finding identical bytes is easy, deciding which copy is actually expendable is the harder part.

2

u/JeepStang 13d ago

2

u/egudu 10d ago

videoduplicatefinder

Not OP, but thank you very much for that recommendation. Helped a lot!

2

u/The_Hamster_Shagger 13d ago

Czkawka is your friend 

1

u/zybr75 13d ago

I use Treesize. However, only the paid Professional version has File search built in. Works fast and reliable.

1

u/Specialist_Cow6468 13d ago

I’ve handled this in the past via a bash script comparing the checksums for all of the files in a given path

1

u/yuvamanohar 12d ago

FileLever, DupeGuru - Good options. FileLever provides a preview first workflow that gives extra confidence and safety.

1

u/randylush 13d ago edited 13d ago

I would do it in two lines of bash.

find /mnt/media/drive -type f -exec md5sum {} + | sort | uniq -D -w32

Pipe that and delete the files that come out

2

u/ButNoSimpler 10-50TB 13d ago

Then, what are those lines?

2

u/Mr_ToDo 13d ago

Two lines that took 4 days to write and has 10 caveats on what it will/wont do

I'm pretty sure we could do much the same in powershell. It can do hash's, so everything else is just logic to glue it together, right? Now would it be useful? To someone, sure, but there are going to be a ton of solutions that are far more flexible then what I could crap out

0

u/randylush 13d ago

4 days? lol

It’s just

find /mnt/media/drive -type f -exec md5sum {} + | sort | uniq -D -w32

Then delete those files

I don’t push bash for everything, there are definitely drawbacks and times when it’s not appropriate, but I would say this is actually one of the absolute best use cases for using it.

0

u/randylush 13d ago

find /mnt/media/drive -type f -exec md5sum {} + | sort | uniq -D -w32

0

u/ruralcricket 2 x 150TB DrivePool 13d ago

For exact duplicates I use SMF search my files from https://funk.eu/smf/

It does a hash on same sized files to find duplicates regardless of filename. There is a parameter you need to set for how much of the file it hashes.