Way to Rename photo add text at a specific location in the name

I want to insert text to a specific location in a photos name. If the Range function can do this, playing around with it didn’t reveal the secret. I want to do something like:

Add “Dark ” nine characters in from the name’s beginning so:

DSC12345 Blue

DSC12346 Green

Becomes…

DSC12345 Dark Blue

DSC12346 Dark Green

Seems like you are running linux, Your solution may be to use krename, though i have a feeling you want to do this from within digikam.

Also check if you can rename a file from the load or save dialog, open the dialog and right click on desired filename you may get a popup option to rename. If not try selecting the filename and pressing the F2 key, that may allow renaming the file.

I would think this should work: take first 9 characters append " Dark " to that, then append characters 10 through end of original file name:

[file]{range:1,9} Dark [file]{range:10,}
1 Like