#1 2022-04-12 06:02

Crucito
Member
Registered: 2022-04-12
Posts: 3

Case renaming "UPPER Capitalized - UPPER"

I have:
Nolan CHRISTOPHER - Dunkerque 17 ultima Version

I want:
NOLAN Christopher - DUNKERQUE 17 Ultima version

How can I do that using "Force case for fragments"

Offline

#2 2022-04-12 18:29

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Case renaming "UPPER Capitalized - UPPER"

How can I do that using "Force case for fragments"

Why this particular option?

I think there are better options available, like Replace or Regular Expressions rules, depending on the pattern of other filenames.

Having more examples will help design the right rules.

Offline

#3 2022-04-12 19:35

Crucito
Member
Registered: 2022-04-12
Posts: 3

Re: Case renaming "UPPER Capitalized - UPPER"

Thanks.
I thought it was of easy use, my abilities are near to null. This are other examples of what I have:
1. Nolan CHRISTOPHER - Dunkerque 17
2. GUERRA CIRO - EL ABRAZO de la serpiente
3. REED carol - EL ÍDOLO Caido
4. Reed Carol - la agonia y el extasis
5. REED CAROL - Nuestro hombre en La Habana
6. RENAUD CHRIS - LORAX, EN
7. SAINTE-LUCE CLAUDIA - los insolitos peces gato
8. RENAUD CHRIS - el LORAX 2012

And this are what I want:
1. NOLAN Christopher - DUNKERQUE 17
2. GUERRA Ciro - EL ABRAZO DE LA SERPIENTE
3. REED Carol - EL ÍDOLO CAIDO
4. REED Carol - LA AGONIA Y EL EXTASIS
5. REED Carol - NUESTRO HOMBRE EN LA HABANA
6. RENAUD CHRIS - LORAX, EN
7. SAINTE-LUCE Claudia - LOS INSOLITOS PECES GATO
8. RENAUD Chris - EL LORAX 2012

If in the case rule "Force case for fragments" what is string?:
Nolan,CHRISTOPHER, - ,Dunkerque, 17,

Offline

#4 2022-04-12 21:58

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,440

Re: Case renaming "UPPER Capitalized - UPPER"

You can do this with a Regular Expressions rule with the following configuration:

Expression: \A([\w\-]+)\s+(\w)(.+?)\s+-\s+(.*)\Z
Replace: \U$1 \u$2\L$3 - \U$4

Explanation of all these magic characters is available in the User Manual.

Input filenames:

Nolan CHRISTOPHER - Dunkerque 17
GUERRA CIRO - EL ABRAZO de la serpiente
REED carol - EL ÍDOLO Caido
Reed Carol - la agonia y el extasis
REED CAROL - Nuestro hombre en La Habana
RENAUD CHRIS - LORAX, EN
SAINTE-LUCE CLAUDIA - los insolitos peces gato
RENAUD CHRIS - el LORAX 2012

Output filenames:

NOLAN Christopher - DUNKERQUE 17
GUERRA Ciro - EL ABRAZO DE LA SERPIENTE
REED Carol - EL ÍDOLO CAIDO
REED Carol - LA AGONIA Y EL EXTASIS
REED Carol - NUESTRO HOMBRE EN LA HABANA
RENAUD Chris - LORAX, EN
SAINTE-LUCE Claudia - LOS INSOLITOS PECES GATO
RENAUD Chris - EL LORAX 2012

Offline

#5 2022-04-13 00:39

Crucito
Member
Registered: 2022-04-12
Posts: 3

Re: Case renaming "UPPER Capitalized - UPPER"

I will try and I hope learn. But primarily thanks to you.

Offline

Board footer

Powered by FluxBB