ExifTool Forum

ExifTool => Newbies => Topic started by: Newsky on March 25, 2016, 06:08:12 AM

Title: Filename to Date
Post by: Newsky on March 25, 2016, 06:08:12 AM
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
Title: Re: Filename to Date
Post by: StarGeek on March 25, 2016, 01:37:11 PM
As long as the filename is formatted as in your example, then yes, it's as simple as:
exiftool "-datetimeoriginal<filename" "-createdate<filename" FileOrDir