Hi everyone,
I'm a newbies and try to get FileCreateDate into CreateDate for all my .MOV files
I use :
exiftool -createdate=filemodifydate file1.mov
but I have the follow error : Warning: Invalid date/time (use YYYY:mm:dd HH:MM:SS[.ss][+/-HH:MM|Z]) in ExifIFD:CreateDate (PrintConvInv)
$ exiftool -createdate -filemodifydate file.mov
Create Date : 2019:03:18 07:52:38
File Modification Date/Time : 2002:11:17 20:37:28+01:00
How can I get the right date format to apply?
Thank you for help.
See Common Mistake #5c (https://exiftool.org/mistakes.html#M5).
The Equal Sign (=) is used to set a tag to a static value. The Less/Greater Than sign (</>) is used to copy one tag to the other.
In this case, you're trying to set CreateDate to the string "filemodifydate", not to the value contained in the FileModifyDate tag.
Change the equal sign to a less than sign, and then you'll also have to put quotes around the whole thing to prevent file redirection.