I'm looking for a tool (freeware if possible) that can write the metadata of a picture by parsing its filename.


Filename: mySuperCoolPhoto_20150825.jpg

Extracted Metadata: EXIF:DateTimeOriginal: 25-08-2015

So I need to give the tool a pattern how my filenames look like and the tool should do the rest. I'm okay with Windows and Mac tools. I was already thinking of writing my own script, but before I start I'll ask here first.

Thank's in advance


1 Answer 1


It can be done with Exiftool. The answer is similar to this post except you replace Directory with Filename. But then you have the same problem as listed in that post. What is the exact tag you want to write to and how are you going to handle the time portion of the tag.

  • \$\begingroup\$ The "this post" link links to this very post...? \$\endgroup\$
    – L.Butz
    Commented Aug 25, 2015 at 7:29
  • \$\begingroup\$ Oooops, fixed. Here's the link again just in case I screwed up twice photo.stackexchange.com/questions/66100/… \$\endgroup\$
    – StarGeek
    Commented Aug 25, 2015 at 7:35
  • \$\begingroup\$ Thank's man! That's exactly what I was looking for. Worked like a charm. \$\endgroup\$
    – L.Butz
    Commented Aug 25, 2015 at 8:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.