Tag documentname

Started by tiagoinacio, March 15, 2022, 07:39:32 PM

Previous topic - Next topic

tiagoinacio

Hello. 
I needed to put the documentname = filename tag but without the _t0 that I always have at the end of the files. 

ex1: Testfile_t0
ex2: Imagefile_t0. 

can you help?

Thanks
Kind Regards

StarGeek

Try
exiftool "-DocumentName<${Basename;s/_t0$//i}" /path/to/files/
* 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).

tiagoinacio

It worked. thanks for the quick response