by butlike 4 days ago

The path is different than the filename though. If I want to find duplicates, it will be impossible if the filename changes. In my use case

/User/user/Images/20240110/happy_birthday.jpg

and

/User/user/Desktop/happy_birthday.jpg

are the same image.

dns_snek 4 days ago | [-2 more]

> it will be impossible if the filename changes.

Not impossible, just different and arguably better - comparing hashes is a better tool for finding duplicates.

butlike 4 days ago | [-0 more]

From a technological standpoint, sure. I'd argue when you're staring down the barrel of 19,234 duplicate file deletions, with names like `image01.jpg`, `image02.jpg` instead of `happy_birthday.jpg`, there's a level of perceptual cognitive trust there that I just can't provide.

morissette 4 days ago | [-0 more]

^ facts

tart-lemonade 4 days ago | [-3 more]
hebelehubele 4 days ago | [-0 more]

> loops around to IMG_0001

Almost all cameras create a new directory, e.g. DSC002, and start from IMG_0001 to prevent collision.

xigoi 4 days ago | [-1 more]

Which systems still use this shortsighted convention? All photos I’ve taken with the default camera app in the last many years are named with a timestamp.

Barbing 4 days ago | [-0 more]

iOS 26

adolph 4 days ago | [-0 more]

> If I want to find duplicates, it will be impossible if the filename changes.

Depends on what is meant by a "duplicate." It would be a good idea to get a checksum of the file, which can detect exact data duplicates, but not something where metadata is removed or if the image was rescaled. Perceptual hashing is more expensive but is better distinguish matches between rescaled or cropped images.

https://en.wikipedia.org/wiki/Perceptual_hashing