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.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).