ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Florosol on October 21, 2020, 12:29:39 PM

Title: Fix Creation Dates of Several File Formats
Post by: Florosol on October 21, 2020, 12:29:39 PM
Hi!

I'm new here and w/ exiftool. I'm also a greenhorn when it comes to command lines, etc. So I hope I can find help here.

I've found several post on how to fix HEIC, JPEG and MOV creation dates after I've exported my files from my Mac's Photo Library to my local drive.

For .heic and JPEG formats I've used:
exiftool "-FileModifyDate<DateTimeOriginal"

For MOV formats I've used:
exiftool '-MDItemFSCreationDate<CreationDate' '-FileModifyDate<CreationDate' . -ext mov

Both worked very good for 99% of my files (for some it didn't - no clue why)!

Now I also have MP4 and PNG files which I want to fix. Does exiftool support these formats and can someone provide command lines for these?

Many thanks in advance!

Flo
Title: Re: Fix Creation Dates of Several File Formats
Post by: StarGeek on October 21, 2020, 12:33:44 PM
The command lines would be along the same lines, just change or remove the -ext (extension) option (https://exiftool.org/exiftool_pod.html#ext-EXT---ext-EXT--extension).

But PNG files don't always have any timestamps, especially when they're screen shots.  Run this command to see all the possible timestamps.  If you find one you can use, just use it in your above commands
exiftool -time:all -g1 -a -s /path/to/files/
Title: Re: Fix Creation Dates of Several File Formats
Post by: Florosol on October 21, 2020, 01:15:33 PM
T H A T     W O R K E D     P E R F E C T L Y     ! ! ! !

Thank you very much!!!