Can't change CreateDate<FileModifyDate for 3GPP files?

Started by theprof, October 20, 2024, 11:31:51 AM

Previous topic - Next topic

theprof

I have a 3GPP video file with the following dates:
[System]        FileModifyDate                  : 2013:06:02 15:17:20-04:00
[System]        FileAccessDate                  : 2024:10:20 10:39:51-04:00
[System]        FileInodeChangeDate             : 2024:10:20 10:39:53-04:00
[QuickTime]     CreateDate                      : 1903:12:31 19:00:00-05:00
[QuickTime]     ModifyDate                      : 1903:12:31 19:00:00-05:00
[Track1]        TrackCreateDate                 : 1903:12:31 19:00:00-05:00
[Track1]        TrackModifyDate                 : 1903:12:31 19:00:00-05:00
[Track1]        MediaCreateDate                 : 1903:12:31 19:00:00-05:00
[Track1]        MediaModifyDate                 : 1903:12:31 19:00:00-05:00
[Track2]        TrackCreateDate                 : 1903:12:31 19:00:00-05:00
[Track2]        TrackModifyDate                 : 1903:12:31 19:00:00-05:00
[Track2]        MediaCreateDate                 : 1903:12:31 19:00:00-05:00
[Track2]        MediaModifyDate                 : 1903:12:31 19:00:00-05:00

I'm trying to set the "Create Date" from the "FileModifyDate" because this file does not seem to have a CreateDate. When I use the below command, it says: No file specified

exiftool \
-overwrite_original \
-if '$MimeType=~/^video\//i' \
-if '(not defined $CreateDate or $CreateDate le "1970:12:31 23:59:59")' \
-api QuickTimeUTC \
'-createdate<filemodifydate'
"$DIR"


theprof

Nevermind, I forgot the backslash before the $DIR line.