FileCreate Date from Filename, no success

Started by Laffer, May 20, 2021, 04:41:44 AM

Previous topic - Next topic

Laffer

I tried my best with the forum and the -d formats, but had no success.

I used

exiftool "-datetimeoriginal<filename" -d "%Y-%M-%D_%H.%M.%S" "2009-12-11 19.06.24 JASMIN_0007.mp4"


But no success. the file creation date is not changed to 2009-12-11 19:06:24 but to TODAY()

Any suggestion?

StarGeek

See FAQ #5, specifically the 3rd paragraph (starts "Having said this") and the example that follows it.

Your filename contains all the time data in the right order.  Drop the -d (-dateFormat) option, it's not needed, and copy the filename directly to the tag you want.

Also, the DateTimeOriginal tag is not the FileCreateDate tag.  If you want to use the OS file system timestamps, copy to FileCreateDate/FileModifyDate.

See FAQ #3 for instructions on figuring out tag names.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype