Copying the "Encoded Date" to the "Date Modified" field on video files

Started by Exifdude, January 02, 2019, 09:40:56 PM

Previous topic - Next topic

Exifdude

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?

Phil Harvey

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
...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 ($).

Exifdude

Thank you Phil! What an indispensable app you created, I can't thank you enough.