ExifTool Forum

ExifTool => Newbies => Topic started by: chadflorian on March 05, 2020, 08:21:10 PM

Title: MacOS 10.15.3 date shift not working
Post by: chadflorian on March 05, 2020, 08:21:10 PM
Hi.. Just downloaded and installed exiftool 11.91 on my mac running 10.15.3 (catalina).

I'm trying a simple command on a single MOV file:
exiftool -AllDates+=1 -verbose DJI_0994.MOV

It appears to process, but the result is all exif date info is changed to the current data/time.

Any help is appreciated!
Title: Re: MacOS 10.15.3 date shift not working
Post by: StarGeek on March 05, 2020, 09:11:07 PM
What is the output of this command
exiftool -time:all -g1 -a -s DJI_0994.MOV

The AllDates only affects three tags, DateTimeOriginal, CreateDate, and ModifyDate.  Odds are the tag that changed is not EXIF (which is rare in video files) but the file system dates, FileModifyDate or FileCreateDate.  If that's the case, you can add the -P (preserve) option (https://exiftool.org/exiftool_pod.html#P--preserve) to prevent the FileModifyDate from change when you run it.
Title: Re: MacOS 10.15.3 date shift not working
Post by: chadflorian on March 06, 2020, 09:20:22 AM
Quote from: StarGeek on March 05, 2020, 09:11:07 PM
What is the output of this command
exiftool -time:all -g1 -a -s DJI_0994.MOV

The AllDates only affects three tags, DateTimeOriginal, CreateDate, and ModifyDate.  Odds are the tag that changed is not EXIF (which is rare in video files) but the file system dates, FileModifyDate or FileCreateDate.  If that's the case, you can add the -P (preserve) option (https://exiftool.org/exiftool_pod.html#P--preserve) to prevent the FileModifyDate from change when you run it.

ahhh... It appears that is the case!   Looks like -P kept the system dates and updates these values:

---- QuickTime ----
CreateDate                      : 2020:01:25 20:04:10
ModifyDate                      : 2020:01:25 20:04:10

Thanks for your help!