ExifTool Forum

ExifTool => Newbies => Topic started by: yusheng on July 29, 2015, 04:33:23 AM

Title: Write EXIF date/time from filenames?
Post by: yusheng on July 29, 2015, 04:33:23 AM
I have a bunch of JPGs with no EXIF and I want to write the date/time stamps to them from the filename.

All the filenames are in this format:

YYYYMMDDHHMMSS.jpg

example: 20120103230412.jpg

How can I use a single command to write all the EXIF tags to an entire directory?

Title: Re: Write EXIF date/time from filenames?
Post by: Phil Harvey on July 29, 2015, 07:05:36 AM
exiftool "-datetimeoriginal<filename" DIR

There are many other threads in this forum about this topic.  Here are some: 1 (https://exiftool.org/forum/index.php/topic,4764.0.html), 2 (https://exiftool.org/forum/index.php/topic,3940.0.html), 3 (https://exiftool.org/forum/index.php/topic,4785.0.html), 4 (https://exiftool.org/forum/index.php/topic,1931.0.html)

- Phil