# Renaming

**URL:** https://community.mp3tag.de/t/renaming/14613
**Category:** Support
**Created:** [April 4, 2013, 4:59pm UTC](https://community.mp3tag.de/t/renaming/14613 "2013-04-04T16:59:27Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [August 9, 2013, 6:26am UTC](https://community.mp3tag.de/t/renaming/14613/21 "2013-08-09T06:26:54Z")

</div>

If you enter  
$num($replace(%track%,'A',0,'B',1),2)  
instead of just $num(%track%,2) you should get  
A1 -\> 01  
01 -\> 01  
B2 -\> 12  
02 -\> 02

---

<div class="post-metadata">

### Author: ![i\_edgars](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/f475e1/32.png) [@i\_edgars](https://community.mp3tag.de/u/i_edgars)
#### Post date: [August 9, 2013, 7:19am UTC](https://community.mp3tag.de/t/renaming/14613/22 "2013-08-09T07:19:53Z")

</div>

But if there is a track in the A11, then no way possible:  
A1 -\> 01  
A2 -\> 02  
...  
A10 -\> 10  
**A11 -\> 11  
B1 -\> 12**  
B2 -\> 13  
...  
??  
Alternatively, if the file name is the beginning A1 -%title% A2 -%title% ... A11 -%title% B1 -%title% ...?

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [August 9, 2013, 7:40am UTC](https://community.mp3tag.de/t/renaming/14613/23 "2013-08-09T07:40:02Z")

</div>

you can easily modify the generated number by setting  
$num($replace(%track%,'A',0,'B',1),2)  
to  
$num($replace(%track%,'A',10,'B',50),2)  
You do know that except the track numbering wizard there is no way that MP3tag knows which tracks belong togehter and which don't. So any kind of more clever numbering without the track numbering wizard is impossible.

Another reminder: the field TRACK is supposed to be numeric only. So any other character than numbers (except the slash) will lead to errors. That is why A1 produces a 0 - the A is no valid number.

---

<div class="post-metadata">

### Author: ![i\_edgars](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/f475e1/32.png) [@i\_edgars](https://community.mp3tag.de/u/i_edgars)
#### Post date: [August 9, 2013, 2:05pm UTC](https://community.mp3tag.de/t/renaming/14613/24 "2013-08-09T14:05:43Z")

</div>

Approximately clear!  
XLD program for MAC can do it, but as she does, I do not know!

So mp3Tag version of this activity is to be made manually!

---

<div class="post-metadata">

### Author: ![i\_edgars](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/f475e1/32.png) [@i\_edgars](https://community.mp3tag.de/u/i_edgars)
#### Post date: [January 4, 2014, 7:51pm UTC](https://community.mp3tag.de/t/renaming/14613/25 "2014-01-04T19:51:29Z")

</div>

1. How can I change (replace) all the non English (Cyrillic, Latvian, German etc) **folder's and all sub-folder's** (directories and subdirectories) letters?  
_D:\Uplade\New Folder\_1\Eduards Rozenštrauhs\Eduarda Rozenštrauha Dziesmas\00 - Eduards Rozenštrauhs - Vecās Likteņ Dzirnas - (Eduarda Rozenštrauha Dziesmas \_ CD) - .flac_  
with  
_D:\Uplade\New Folder\_1\Eduards Rozenstrauhs\Eduarda Rozenstrauha Dziesmas\00 - Eduards Rozenštrauhs - Vecās Likteņ Dzirnas - (Eduarda Rozenštrauha Dziesmas \_ CD) - .flac_

These tags are of course remain unchanged:  
Artist is Rozenštrauhs  
Title is Vecās Likteņ Dzirnas  
Album is Eduarda Rozenštrauha Dziesmas

1. How can I change the uppercase letters to uppercase letters, lowercase letters in lowercase letters to the one single effort? Without writing all uppercase letters and all lowercase letters.  
 _[?] case-sensitive comparison_ 

Following the example of:  
[#16]  
T=2  
F=\_DIRECTORY  
1=\u0160  
2=S  
3=0|1

[#17]  
T=2  
F=\_DIRECTORY  
1=\u0161  
2=s  
3=0|1

[LV\_\_Lat\_directory.mta](https://community.mp3tag.de/uploads/default/original/2X/2/271dcdc6c1c0f1703a94eb22ef1883f6699156ca.mta) (1.07 KB)

[Cyrillic\_to\_Latin\_FILENAME.mta](https://community.mp3tag.de/uploads/default/original/2X/0/09dbf1a66df9cdc9a6ca6b8487745a0aadc427ff.mta) (3.02 KB)

---

<div class="post-metadata">

### Author: ![i\_edgars](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/f475e1/32.png) [@i\_edgars](https://community.mp3tag.de/u/i_edgars)
#### Post date: [January 7, 2014, 2:39pm UTC](https://community.mp3tag.de/t/renaming/14613/26 "2014-01-07T14:39:22Z")

</div>

How can I change (replace, rename) the folder and all its sub folders names with mp3Tag program?  
See details above.

---

<div class="post-metadata">

### Author: ![i\_edgars](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/f475e1/32.png) [@i\_edgars](https://community.mp3tag.de/u/i_edgars)
#### Post date: [January 9, 2014, 8:09pm UTC](https://community.mp3tag.de/t/renaming/14613/27 "2014-01-09T20:09:28Z")

</div>

## Something I found:

1. Convert / Tag \> Filename / %track%. %artist% - %title% - (%album% \_ %discnumber%) - %year%

> "D:\...\19. R-re, mi-mi, fa-ā.flac" -\> "D:\...\19. Sīpoli - R-re, mi-mi, fa-ā - (Agrāk Un Tagad \_ CD 3) - 2011.flac"

2) Action / LV Lat Tag / 

> Replace "\_TAG": "ā" -\> "a"
> 
> ```
> Replace "_TAG": "ī" -> "i" , etc.</blockquote>
> 
> ```
> 
> > artist: Sīpoli -\> Sipoli title: R-re, mi-mi, fa-ā -\> R-re, mi-mi, fa-a album: Agrāk Un Tagad -\> Agrak Un Tagad
> 
> 3) Action / Format value "\_FILENAME": D:\...\$if($eql(%compilation%,1),Compilation,%artist%)\[%year% -]%album%[\\%discnumber%]\\%\_filename%
> 
> > "D:\...\19. Sīpoli - R-re, mi-mi, fa-ā - (Agrāk Un Tagad \_ CD 3) - 2011.flac" -\> "D:\...\Sipoli\2011 - Agrak Un Tagad\CD 3\19. Sīpoli - R-re, mi-mi, fa-ā - (Agrāk Un Tagad \_ CD 3) - 2011.flac"
> 
> 4) Convert / Filename \> Tag / %track%. %artist% - %title% - (%album% \_ %discnumber%) - %year%
> 
> > "D:\...\19. Sīpoli - R-re, mi-mi, fa-ā - (Agrāk Un Tagad \_ CD 3) - 2011.flac" -\> track: 19 artist: Sīpoli title: R-re, mi-mi, fa-ā album: Agrāk Un Tagad discnumber: CD 3 year: 2011
> 
> 5) Action / LV Lat Filename / 
> 
> > Replace "\_FILENAME": "ā" -\> "a"
> > 
> > ```
> > Replace "_FILENAME": "ī" -> "i" , etc.</blockquote>
> > 
> > ```
> > 
> > > "D:\...\19. Sīpoli - R-re, mi-mi, fa-ā - (Agrāk Un Tagad \_ CD 3) - 2011.flac" -\> "D:\...\19. Sipoli - R-re, mi-mi, fa-a - (Agrak Un Tagad \_ CD 3) - 2011.flac" -\>
> > 
> > ------------------ So we get all the directories, sub directories and file names in Latin (Roman) characters, but leave (unchange) the tags with Latvian (Russian, German, etc.) specific characters.
> > 
> > Do not be a shorter way to do this? As can be immediately adjusted to fit the mask directory and sub ​​directory names?
> > 
> > > "D:\...\Sīpoli\2011 - Agrāk Un Tagad\" -\> "D:\...\Sipoli\2011 - Agrak Un Tagad\"
> > 
> > ... say the introduction replace "\_SUBDIRECTORIES"!
> > 
> > PS: at the beginning of the tags with specific letters.

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [January 10, 2014, 7:03am UTC](https://community.mp3tag.de/t/renaming/14613/28 "2014-01-10T07:03:07Z")

</div>

> [@i\_edgars](#):
>
> ... So we get all the directories, sub directories and file names in Latin (Roman) characters, but leave (unchange) the tags with Latvian (Russian, German, etc.) specific characters.  
> Do not be a shorter way to do this? As can be immediately adjusted to fit the mask directory and sub ​​directory names? ...

This may help ...

Unicode to ASCII  
[/t/7279/1](https://community.mp3tag.de/t/7279/1)

Proposal for a workflow in german.  
[Web-valide Dateinamen aus Tags erzeugen](https://community.mp3tag.de/t/15215/10)

Change Bartók Béla to Bartok Bela (loose the special chars)  
[/t/9129/1](https://community.mp3tag.de/t/9129/1)

tihS can happen  
[Regexp error](https://community.mp3tag.de/t/9957/6)

DD.20140110.0914.CET

---

<div class="post-metadata">

### Author: ![i\_edgars](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/f475e1/32.png) [@i\_edgars](https://community.mp3tag.de/u/i_edgars)
#### Post date: [January 11, 2014, 7:20pm UTC](https://community.mp3tag.de/t/renaming/14613/29 "2014-01-11T19:20:17Z")

</div>

> [@DetlevD](#):
>
> This may help ...
> 
> Unicode to ASCII  
> [/t/7279/1](https://community.mp3tag.de/t/7279/1)  
> ...  
> DD.20140110.0914.CET

Thank you for your explanation, but this is not exactly what I wanted to know. Actually, I have developed my own approach and I am aware of how to change specific characters (for non English language letters) - so there is no problem in regards of this, but methods of the Mp3Tag program are not useful to change folder (\_DIRECTORY) and relevant subfolder names by one take.

There is a simplified example:

My start filename is "Aaa - Bbb \_ Aaa Ccc.flac",  
artist name: "Aaa", title: "Bbb", album: "Aaa Ccc".

If I use the mask: "D:\Music\%artist%\%album%\%artist% - %title% \_ %album%" - the address generated by program Mp3Tag is "D:\Music\Aaa\Aaa Ccc", that means: the result is  
"D:\Music\Aaa\Aaa Ccc\Aaa - Bbb \_ Aaa Ccc.flac"  
("Action \> Format value "\_FILENAME": D:\Music\%artist%\%album%\%artist% - %title% \_ %album%")

If I have mistaken and initially have written incorrect word (Aaa instead of Hhh) and try to use Action \> Replace "\_DIRECTORY": "Aaa" -\> "Hhh":  
From the path:  
"D:\Music\<b\>Aaa\<b\>Aaa Ccc\Aaa - Bbb \_ Aaa Ccc.flac"  
I have got the result:  
"D:\Music\<b\>Aaa\<b\>Hhh Ccc\Aaa - Bbb \_ Aaa Ccc.flac" - that means - only the last folder name is changes, but I need full path folder names to be changed as  
"D:\Music\<b\>Hhh\<b\>Hhh Ccc\Aaa - Bbb \_ Aaa Ccc.flac"

If there is path like  
"D:\Music\<b\>Aaa\<b\>Aaa Ccc\<b\>CD 3\Aaa - Bbb \_ Aaa Ccc.flac", by making changes, I get the same  
"D:\Music\<b\>Aaa\<b\>Aaa Ccc\<b\>CD 3\Aaa - Bbb \_ Aaa Ccc.flac"!!

* * *

What I need is the solution of **how to** change ( **create a new** ) **file folder and sub folders names** by one take, **using Action \> Format\_value "\_FILENAME"** - the main objective what I need to get is to **replace non English language characters** (initially taken from file Tags) in file folder and sub folders names (I need file and folder names without non English language characters) **by one take**. Leaving without changing tags - with non English language characters!

Or if necessary, by providing prior notification of folders which name should be changed.

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [January 11, 2014, 8:30pm UTC](https://community.mp3tag.de/t/renaming/14613/30 "2014-01-11T20:30:13Z")

</div>

> [@i\_edgars](#):
>
> Thank you for your explanation, but this is not exactly what I wanted to know. ... methods of the Mp3Tag program are not useful to change folder (\_DIRECTORY) and relevant subfolder names by one take. ...  
> What I need is the solution of **how to** change ( **create a new** ) **file folder and sub folders names**...

'i\_edgars', I will try to answer, and I want to say something about the problems, which you have stumbled into.

1. Do learn something more about the construction of path names;  
do understand the difference between absolute and relative path names and how they will be contructed; especially do understand to build a relative path name.

Maybe this can help to understand ... [http://en.wikipedia.org/wiki/Path\_(computing)](http://en.wikipedia.org/wiki/Path_(computing))

For example ... **%\_directory%'.....'**... points to the folder two steps above from view point of the folder, which is the current directory folder of the current file.

1. It has been turned out in practice, that also the changes for the file system, that means moving or renaming of files and folders, should be prepared in temporary tag-fields.  
Doing so there is the benefit of preview, how the change of a folder name or a newly assembled filename would be look like.  
Duplicates and other quirks can be easily detected this way, visually in the list view, or by filtering, before getting into trouble while executing time.  
Doing so I have no problems since years with bad file names or unexpected moved folders anywhere.  
The rule is: **Try it virtual, then do it real.**

Oh oh oh ... I am preaching this for many years ... ... ...  
You can prepare all names for files and folders in one or more helper tag-fields.  
Thus you have full control over the resulting strings without running into disaster on your hard disk.

See also ... (not the best links, there might be better examples in the forum anywhere)  
[Help with ML reorganization](https://community.mp3tag.de/t/6472/2)  
[Lücke vor und hinter eine Zahl setzen](https://community.mp3tag.de/t/13312/5)  
[mit \_DIRECTORY Überordner umbenennen (zb bei 2xCD)](https://community.mp3tag.de/t/10728/1)  
[Help to create a parameter to rename folders](https://community.mp3tag.de/t/10805/4)  
[unterschiedlicher Aufbau von Dateinamen](https://community.mp3tag.de/t/12021/4)  
[Easy way to get directory names above Parent?](https://community.mp3tag.de/t/9324/6)  
[Convert tags to filenames questions](https://community.mp3tag.de/t/11836/11)

DD.20140111.2230.CET

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 11, 2014, 8:31pm UTC](https://community.mp3tag.de/t/renaming/14613/31 "2014-01-11T20:31:45Z")

</div>

> [@i\_edgars](#):
>
> ....Action \> Replace "\_DIRECTORY": "Aaa" -\> "Hhh":  
> ...

\_DIRECTORY refers to the immediate hierarchie above the filename.  
if you replace only in \_DIRECTORY the you touch only  
Aaa Ccc\Aaa - Bbb \_ Aaa Ccc.flac  
but leave out the  
D:\Music\Aaa\

If you want to treat the whole path then you would have to use the whole \_PATH and not only \_DIRECTORY.  
So if you create an action to replace certain characters you have to do a two-step:  
first replace in \_path  
second replace in \_filename

---

<div class="post-metadata">

### Author: ![i\_edgars](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/f475e1/32.png) [@i\_edgars](https://community.mp3tag.de/u/i_edgars)
#### Post date: [January 12, 2014, 9:07am UTC](https://community.mp3tag.de/t/renaming/14613/32 "2014-01-12T09:07:25Z")

</div>

> [@ohrenkino](#):
>
> If you want to treat the whole path then you would have to use the whole \_PATH and not only \_DIRECTORY.  
> So if you create an action to replace certain characters you have to do a two-step:  
> first replace in \_path  
> second replace in \_filename

-1-  
"first replace in \_path" - How to do it?  
I can not get it! See attachment.  
I set up a new "Action" Replace with "\_PATH": "Aaa" -\> "Hhh", but the use of this Action does not change anything anywhere!  
"D:\Music\Aaa\Aaa Ccc\Aaa - Bbb \_ Aaa Ccc.flac" -\>  
"D:\Music\Aaa\Aaa Ccc\Aaa - Bbb \_ Aaa Ccc.flac" !!

 ![](https://community.mp3tag.de/uploads/default/original/2X/c/cb0155978cc3a5d3bf65b05eb8e18c2a0edabf8f.JPG)

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 12, 2014, 9:19am UTC](https://community.mp3tag.de/t/renaming/14613/33 "2014-01-12T09:19:00Z")

</div>

> [@i\_edgars](#):
>
> -1-  
> "first replace in \_path" - How to do it?  
> I can not get it! See attachment.  
> I set up a new "Action" Replace with "\_PATH": "Aaa" -\> "Hhh", but the use of this Action does not change anything anywhere!  
> "D:\Music\Aaa\Aaa Ccc\Aaa - Bbb \_ Aaa Ccc.flac" -\>  
> "D:\Music\Aaa\Aaa Ccc\Aaa - Bbb \_ Aaa Ccc.flac" !!

Oh, I just noticed: you cannot modify path directly.  
But:  
you can create an action group that does the following  
Format value for tmp\_path (user defined field)  
Format string: $replace(%\_path%,Hhh,Aaa)  
Format value for \_DIRECTORY  
Format string: %tmp\_path% \<- this sets the new directory as it holds the full path name.  
Delete field tmp\_path

Edit: I am a little clumsy today:  
You can shorten the whole stuff to just one "Format value" action if you join step 1 and two:  
format value \_DIRECTORY  
Format string: $replace(%\_path%,Hhh,Aaa)

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [January 12, 2014, 10:29am UTC](https://community.mp3tag.de/t/renaming/14613/34 "2014-01-12T10:29:09Z")

</div>

> [@i\_edgars](#):
>
> ... If I have mistaken and initially have written incorrect word (Aaa instead of Hhh) and try to use Action \> Replace "\_DIRECTORY": "Aaa" -\> "Hhh":  
> ...

Hmm ... for this case using the "function $replace" resp. the "Action Replace" on the pseudo tag-field \_DIRECTORY, which is the directory resp. the home folder of the current file, this manipulation indeed will work, ... and will rename the current home folder of the current file, ... and will also applied in one go to all other files in this folder too.

If you want to edit other parts of the folder path, then you have to use something like this ... try to format ...  
Field: \_DIRECTORY  
Formatstring: **%\_directory%'......\<!--colorc--\>'%ARTIST%'\<!--colorc--\>'%ALBUM%**  
... or ...  
Formatstring: **'D:\Music\<!--colorc--\>'%ARTIST%'\<!--colorc--\>'%ALBUM%**

DD.20140112.1229.CET

---

<div class="post-metadata">

### Author: ![i\_edgars](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/f475e1/32.png) [@i\_edgars](https://community.mp3tag.de/u/i_edgars)
#### Post date: [January 12, 2014, 11:42am UTC](https://community.mp3tag.de/t/renaming/14613/35 "2014-01-12T11:42:03Z")

</div>

- 1 -

> [@ohrenkino](#):
>
> You can shorten the whole stuff to just one "Format value" action if you join step 1 and two:  
> format value \_DIRECTORY  
> Format string: $replace( **%\_path%** ,Hhh,Aaa)

> [@DetlevD](#):
>
> Hmm ... for this case using the **"function $replace"** resp. the "Action Replace" on the pseudo tag-field \_DIRECTORY, which is the directory resp. the home folder of the current file, this manipulation indeed will work, ... and will rename the current home folder of the current file, ... and will also applied **in one go to all other files in this folder too**.  
> DD.20140112.1229.CET

## "Action\> Format value"\_FILENAME": $replace(%\_path%,Aaa,Hhh)! That is what I needed! Thank you very much! This Action is working perfectly (attachment 1) (.... format value \_DIRECTORY ... not propertly - attachment 2) "D:\Music\Aaa\Aaa Ccc\Aaa - Bbb \_ Aaa Ccc.flac" -\> "D:\Music\Hhh\Hhh Ccc\Hhh - Bbb \_ Hhh Ccc.flac" Very well, the tags remain unchanged - that I also needed.

That was just the beginning of my entire music library to rename!

- 2 -  
Is it possible for two things:

1. "Action\> Format value"\_FILENAME"and
2. "Action\> Unicode to ASCII" (/t/7279/1  
connect a single operation?  
This means "Action\> Format value"\_FILENAME": $replace(%LV Lat filename.mta%) ....?"  
or "Action\> Format value"\_FILENAME": $regexp(%UNI\_TO\_ASC%) ....?"

Is it possible?

[LV\_\_Lat\_filename.mta](https://community.mp3tag.de/uploads/default/original/2X/0/002be767c653a7e6b9ff3f6cb6dbf813f3adbece.mta) (1.05 KB)

 ![](https://community.mp3tag.de/uploads/default/original/2X/2/2d5a18619bcafad63ef45a6bdca6de798a068bdd.JPG)

---

<div class="post-metadata">

### Author: ![i\_edgars](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/f475e1/32.png) [@i\_edgars](https://community.mp3tag.de/u/i_edgars)
#### Post date: [January 12, 2014, 11:43am UTC](https://community.mp3tag.de/t/renaming/14613/36 "2014-01-12T11:43:27Z")

</div>

> [@i\_edgars](#):
>
> (.... format value \_DIRECTORY ... not propertly - attachment 2)

 ![](https://community.mp3tag.de/uploads/default/original/2X/2/279d16452cc69a07d186a8bf4cc5ce6b29478b8e.JPG)

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [January 12, 2014, 12:15pm UTC](https://community.mp3tag.de/t/renaming/14613/37 "2014-01-12T12:15:31Z")

</div>

> [@i\_edgars](#):
>
> ... Is it possible for two things:
> 
> 1. "Action\> Format value"\_FILENAME"and
> 2. "Action\> Unicode to ASCII"  
> connect a single operation? ...

Regarding the action group "Unicode to ASCII" ...  
to make the whole thing run smoothly, I suggest the following steps.

1. For example, there is a tag-field TF, which content should be ascii-fied.

2. Create/format a new tag-field UNI\_TO\_ASC with %TF%.

3. Then run the action group UniToAsc.Diacritics or such.

4. Format the tag-field TF with %UNI\_TO\_ASC%.

5. Remove the tag field UNI\_TO\_ASC.

All steps can be split into three action groups.

1. Action Group for processing other things and preparing for step 2 from above.
2. Call Action Group UniToAsc.Diacritics
3. Action Group for follow-up.

If everything works, then you can put the three action groups in the dialog "Actiongroups/Utils" into a meta-group.

DD.20140112.1415.CET

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 12, 2014, 12:22pm UTC](https://community.mp3tag.de/t/renaming/14613/38 "2014-01-12T12:22:13Z")

</div>

If I look at the collection of actions to replace, I think it may be easier to maintain (and copy) if you used the $replace-function.  
The advantage of this function is that you can build up a more or less unlimited chain of replace pairs - and as the fieldname is mentioned at the beginning, you don't have to retype that name for each pair:

$replace(%\_filename%,Hhh,Aaa,\u010d,c,\u0123,g,.......) -\> append this listing with the replace-pair from your mta-example.

---

<div class="post-metadata">

### Author: ![i\_edgars](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/f475e1/32.png) [@i\_edgars](https://community.mp3tag.de/u/i_edgars)
#### Post date: [January 12, 2014, 2:00pm UTC](https://community.mp3tag.de/t/renaming/14613/39 "2014-01-12T14:00:07Z")

</div>

> [@ohrenkino](#):
>
> $replace(%\_filename%,Hhh,Aaa,\u010d,c,\u0123,g,.......) -\> append this listing with the replace-pair from your mta-example.

Something is wrong in this script, as folder and file names are changed only the first typed letter!

 ![](https://community.mp3tag.de/uploads/default/original/2X/8/8e8e6f33444f530fcb78364500cef52c1e313837.JPG)

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 12, 2014, 2:05pm UTC](https://community.mp3tag.de/t/renaming/14613/40 "2014-01-12T14:05:33Z")

</div>

> [@i\_edgars](#):
>
> Something is wrong in this script, as folder and file names are changed only the first typed letter!

I think that if you enter the constants like Ä,A then you shouldn't add the prefix \ as this is only used to indicate that a following code number.

So Ä,A is correct, \Ä,A is not as this would search for the backslash plus the diacritical character - which does not score a hit.

[Previous page](https://community.mp3tag.de/t/renaming/14613.md?page=1)

[Next page](https://community.mp3tag.de/t/renaming/14613.md?page=3)
