Content of FileName copied to Title but without extension

Started by derkolarsky, April 17, 2021, 05:16:33 PM

Previous topic - Next topic

derkolarsky

Hi everyone,

I've searched pretty hard to find an understandable solution for me but my brain suddenly tilted...  :-\

I want to copy the information from FileName to Title but simply drop the file extension. I found lots of stuff stating ...;s/ \... but I wasn't able to use it for me.
My basic command is exiftool *.m4a "-Title<FileName" but then it also copies the file extension. Is there a simple solution to have some RegEx-Part just removing the extension out of the info?
And a short explanation of the syntax would be pretty cool...

Really appreciate your input.

Thanks in advance
Ralf

StarGeek

If you're using exiftool Version 12.22 or higher, you can use this command
exiftool *.m4a "-Title<BaseName"

Basename was an example user defined tag in the example.config file, but is now a built-in Extra tag.
"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