Page 1 of 1

how rename the file with all first letter capital?

Posted: 20 Apr 2013, 14:15
by Stimo89
hello all

It is my first post here.

I have a question about renaming of files.

I have at example following file: NCIS Unità anticrimine - 10x07 GLI SCHERZI DELLA MENTE

I would like that the 'a' of 'anticrimine' is changing to a capital 'A'.

I have for the moment following line:

Code: Select all

{n.replace('- ','')} {sxe} {t.toUpperCase()}
, how can I do that?

Sorry if my english is not completely understandable. Please ask if you have questions!

regards
Stimo

Re: how rename the file with all first letter capital?

Posted: 20 Apr 2013, 16:49
by rednoah
You're looking for {n.upperInitial()} and {t.upperInitial()}.

@see
http://www.filebot.net/naming.html#functions