Hi,
I've been struggling with this for some time now, I'm trying to set the DateTimeOriginal stamp on the first file to be the same as the original. I have a folder with 300+ images I need to do this with.
I've tried exiftool "-FileModifyDate<DateTimeOriginal" "-FileCreateDate<DateTimeOriginal" -ext .JPG Edited\KDOutput\JPEG\ and it says the 314 images are updated but nothing has changed??
Any help appreciated!
Shoot 3>exiftool -s -time:all Edited\KDOutput\JPEG\Q360_20201101_070150_000009.JPG
FileModifyDate : 2020:11:01 07:01:50+13:00
FileAccessDate : 2020:11:01 07:01:50+13:00
FileCreateDate : 2020:11:01 07:01:50+13:00
ModifyDate : 2020:11:03 13:38:09
DateTimeOriginal : 2020:11:01 07:01:50
CreateDate : 2020:11:03 11:20:17
GPSTimeStamp : 18:01:50
GPSDateStamp : 2020:10:31
MetadataDate : 2020:11:03 13:38:09+13:00
HistoryWhen : 2020:11:03 11:20:17+13:00, 2020:11:03 13:38:09+13:00, 2020:11:03 13:38:09+13:00
GPSDateTime : 2020:10:31 18:01:50Z
Shoot 3>exiftool -s -time:all Q360_20201101_070150_000009.JPG
FileModifyDate : 2020:11:01 07:02:22+13:00
FileAccessDate : 2020:11:03 17:44:15+13:00
FileCreateDate : 2020:11:01 08:05:41+13:00
ModifyDate : 2020-11-01 07:02:21
DateTimeOriginal : 2020-11-01 07:02:21
CreateDate : 2020-11-01 07:02:21
ProfileDateTime : 1998:02:09 06:49:00
Quote from: DeckG on November 03, 2020, 12:32:49 AM
I'm trying to set the DateTimeOriginal stamp on the first file to be the same as the original.
What do you mean by "the same as the original"?
Your command sets FileModifyDate and FileCreateDate from DateTimeOriginal, and is working as expected, but I don't think this is what you wanted to do.
- Phil
As shown in your output, exiftool did exactly what you told it to. You told it to process files in Edited\KDOutput\JPEG\ directory and the output for your example file shows that the File*Date tags are the same as the DateTimeOriginal tag.
Shoot 3>exiftool -s -time:all Edited\KDOutput\JPEG\Q360_20201101_070150_000009.JPG
FileModifyDate : 2020:11:01 07:01:50+13:00
FileAccessDate : 2020:11:01 07:01:50+13:00
FileCreateDate : 2020:11:01 07:01:50+13:00
...
DateTimeOriginal : 2020:11:01 07:01:50
Hi Phil,
Thanks for the quick reply.
The DateTimeOriginal is 2020-11-01 07:02:21 but the file is showing 2020:11:01 07:01:50, it's refusing to change to 07:02:21, am I using the right command?
I need to copy the DateTimeOriginal from the master files to the coresponding files in the JPEG folder
Quote from: DeckG on November 03, 2020, 11:36:18 AM
I need to copy the DateTimeOriginal from the master files to the coresponding files in the JPEG folder
Well, why didn't you say so? Here is the command:
exiftool -tagsfromfile SOURCEDIR/%f.%e -datetimeoriginal -ext jpg DESTINATIONDIR- Phil
Thanks Phil, still learning how to code!