Write Create Date of image from filename for image without exif data

Started by DumbMarine, February 17, 2013, 02:20:46 PM

Previous topic - Next topic

DumbMarine

Hello,

     I am hoping someone can explain in simple terms what I have to do to update (insert) an Exif create date from an images filename (or substring of the filename).  All image files are in a single folder on a windows 7 64 bit platform.

Example Filename: 2002-01-24 H19-55-50-IPD-687.jpg

Ideally the Exif create date would be set to 2002-01-24 @ 19:55:50pm

There are around about 1000 image files so a batch solution or something that would operate on all at once would be good.

In anticipation of a successful response, thanks

Ian

Phil Harvey

Hi Ian,

Try this:

exiftool "-datetimeoriginal<filename" DIR

where DIR is the name of a directory containing the images.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

DumbMarine


DumbMarine

Phil,

  That advice and information worked sweetly.  All beautifully updated which allows proper filing. 

thanks

Ian