ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Exifdude on January 02, 2019, 09:40:56 PM

Title: Copying the "Encoded Date" to the "Date Modified" field on video files
Post by: Exifdude on January 02, 2019, 09:40:56 PM
On my iPhone the "Date Modified" field for photos and videos is widely inconsistent.  For photos I'm able to use the "Date Taken" field and copy that over to the "Date Modified" field using ExifTool.  Using MediaInfo I see that on video files there is a "Encoded Date" that has the time stamp of when the video was taken. Is there a command in ExifTool that will allow the copying over of the field to the "Date Modified" field?
Title: Re: Copying the "Encoded Date" to the "Date Modified" field on video files
Post by: Phil Harvey on January 03, 2019, 07:13:35 AM
Yes.  First you have to determine the ExifTool tag names, then use a command like this:

exiftool "-DESTTAG<SOURCETAG" FILE

use this command to see all date/time tags:

exiftool -a -G1 -s -time:all FILE

- Phil
Title: Re: Copying the "Encoded Date" to the "Date Modified" field on video files
Post by: Exifdude on January 03, 2019, 04:48:56 PM
Thank you Phil! What an indispensable app you created, I can't thank you enough.