Changing to lower case from n position to end

Advanced Renamer forum
#1 : 02/02-20 14:44
Styb
Styb
Posts: 13
I'm trying to rename multiple files by changing to lowercase from the n position to the end of file name.
Ex. n=9
from

AaBbCcDdEeFfGg.txt
AaBbCcDdEeFfGgMmNnRrSs.txt
AaBbCcDdEeFfGgMmNnRrSsTtZz.txt

to

AaBbCcDdeeffgg.txt
AaBbCcDdeeffggmmnnrrss.txt
AaBbCcDdeeffggmmnnrrssttzz.txt

How can I do it?



02/02-20 14:44 - edited 02/02-20 15:05
#2 : 02/02-20 18:11
David Lee
David Lee
Posts: 517
Easiest way is to use a simple script:

n = 9;
name = item.name;
return name.substring(0, n - 1) + name.substring(n -1 ).toLowerCase();


02/02-20 18:11
#3 : 02/02-20 22:08
Styb
Styb
Posts: 13
Reply to #2:
Thank you very much. It works fine.


02/02-20 22:08