Main Menu

Filename to Date

Started by Newsky, March 25, 2016, 06:08:12 AM

Previous topic - Next topic

Newsky

It's possible to write to the file and the shooting date of the file name?
2014-06-12 15-47-27.JPG - > DateTimeOriginal & CreateDate
Sorry for my english. I use Google translator

StarGeek

As long as the filename is formatted as in your example, then yes, it's as simple as:
exiftool "-datetimeoriginal<filename" "-createdate<filename" FileOrDir

* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).