how rename the file with all first letter capital?

All about user-defined episode / movie / file name format expressions
Post Reply
Stimo89
Posts: 1
Joined: 20 Apr 2013, 14:04

how rename the file with all first letter capital?

Post 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
User avatar
rednoah
The Source
Posts: 22984
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post by rednoah »

You're looking for {n.upperInitial()} and {t.upperInitial()}.

@see
http://www.filebot.net/naming.html#functions
:idea: Please read the FAQ and How to Request Help.
Post Reply