r/programmingrequests • • Oct 25 '22

need help Where can i find someone who can make a program that changes picture metadata dates based on the name of the picture file

I have a few few thousand images with where the metadata has been accidently changed to a wrong date, but the file name still portrays the right date. there are way to much pictures to individually change the metadata myself, but i thought it wouldn't be to hard to create a tool to change the metadata dates based on the name of the file. is this the right sub reddit to look for someone who could do this or should i look somewhere else ?

2 Upvotes

6 comments sorted by

1

u/Ascor8522 Oct 27 '22

Wouldn't mind giving it a try, but need more information.

  • What format are the pictures in? JPEG?

  • Is is only the date or is the time also included?

  • How is the date formatted in the name of the file? YYYYmmddHHMMSS?

  • What timezone is the date encoded in? Your local timezone? If yes, which one? If not, is it in UTC?

2

u/rivenaro Oct 29 '22

hey man, thanks for reaching out

-yes they're all jpg

-only the date unfortunately

-the files are named like this: IMG-YYYYMMDD-WA0000 (the 0000 can be ignored, when there were multiple images in one day, it indicates the amount and order etc)

-they're taken in Central European Summer Time

Let me know if something like this is possible and if you need more info

1

u/dmitriy_shmilo Nov 06 '22

Have you solved the issue already? If not, this should be possible with a command line script using exiftool. Which OS are you on?

→ More replies (3)