top | item 33516499

(no title)

mtn92 | 3 years ago

I always have the same issue when copying files over from my iPhone to my Windows PC, all photos are given a random name. They really do their best to keep you locked in.

However, if you are lucky files might still preserve the modification timestamp from the time they were created. I use a little script to rename all those files chronologically. I'm sharing it below if it helps ;)

https://github.com/monti-python/utils/blob/master/rename_chr...

discuss

order

deafpolygon|3 years ago

I wrote a little script in PowerShell myself, and what I found was modification times were wildly incorrect. Creation time couldn't be relied on because it would default to the day it was copied over. The script checks the EXIF data for "Date Taken", and was able to reduce the number of pictures I needed to sort from 30k to around 4k left. That's still a lot of photos to sort through, though.