ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: banana123 on December 03, 2023, 07:02:47 AM

Title: how to edit ModifyDate to affect all dates?
Post by: banana123 on December 03, 2023, 07:02:47 AM
Hello everyone!
I want to modify the EXIF:ModifyDate tag, which is a simple task thanks to the exiftool.
I want it to update all related tags (especially timezones, subsec, etc...).
Is there any way to do that instead of updating them one by one?
thanks!
Title: Re: how to edit ModifyDate to affect all dates?
Post by: StarGeek on December 03, 2023, 09:30:15 AM
Use SubSecModifyDate (see the Composite tags page (https://exiftool.org/TagNames/Composite.html)).

I go into further details on the the three shortcut tags which write all three of the corresponding EXIF tags at once in this post (https://exiftool.org/forum/index.php?topic=14977.msg80620#msg80620).
Title: Re: how to edit ModifyDate to affect all dates?
Post by: banana123 on December 04, 2023, 01:27:13 AM
Quote from: StarGeek on December 03, 2023, 09:30:15 AMUse SubSecModifyDate (see the Composite tags page (https://exiftool.org/TagNames/Composite.html)).

I go into further details on the the three shortcut tags which write all three of the corresponding EXIF tags at once in this post (https://exiftool.org/forum/index.php?topic=14977.msg80620#msg80620).

So just to make it clear,
if I'll implement the three composite tags (SubSecCreateDate, SubSecDateTimeOriginal, SubSecModifyDate), the other EXIF tags will follow?
Title: Re: how to edit ModifyDate to affect all dates?
Post by: StarGeek on December 04, 2023, 08:54:52 AM
Take a look at the linked Composite tag page.  Under each of the Composite tags, it will list the three tags that it will write.

Look at this post (https://exiftool.org/forum/index.php?topic=15417.msg82810#msg82810) for a command example.  Though I don't show it, the test file is completely empty of all metadata.  On the first line, I set all three of the Composite tags.  Then I show the output which completely fills all the EXIF tags.