Main Menu

Add tag from filename

Started by kali, May 02, 2021, 09:25:17 AM

Previous topic - Next topic

kali

Hi,

I would like to complete the "Shooting" field using the file name.



Could you tell me the syntax to use ?

Thank you and have a nice day

Luuk2005

exiftool -ext jpg -overwrite_original -DateTimeOriginal"<Filename"  "Filespec or FolderPath"
Windows8.1-64bit,  exiftool-v12.92(standalone),  sed-v4.0.7

StarGeek

This is covered by the third paragraph in FAQ #5.  As Luuk2005 says, you can copy the filename directly into the timestamp tag.  Exiftool extract the numbers and take care of the formatting.
"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