# Rename or insert Info into filename

**URL:** https://community.mp3tag.de/t/rename-or-insert-info-into-filename/10674
**Category:** General Discussion
**Created:** [August 19, 2010, 3:54am UTC](https://community.mp3tag.de/t/rename-or-insert-info-into-filename/10674 "2010-08-19T03:54:21Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![hotdak3](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/f08c70/32.png) [@hotdak3](https://community.mp3tag.de/u/hotdak3)
#### Post date: [August 19, 2010, 3:54am UTC](https://community.mp3tag.de/t/rename-or-insert-info-into-filename/10674/1 "2010-08-19T03:54:21Z")

</div>

New to this type of Tagging but so far I love the program. I have 2 questions simular in nature, but I was unable to find an answer searching the forum for the past 2 weeks.

Q #1: I have custom file info after "Title - " I want to keep  
How do I rename the filename with changes, but without removing my custom info after "Title - "

I Have tried Tag - Filename EX: %artist% - %\_filename%  
But it gives me Artist - Artist - Title - My Custom Details.mp3

Org.: Artist - Title - My Custom Details.mp3  
New: New Artist - New Title - My Custom Details

Q#2: Along the same lines except I want to insert say BPMs into the filename.

EX: Artist - Title - My Custom Details.mp3  
to  
Artist - Title (BPM123) - My Custom Details.mp3

Thanks in advance for your help.

---

<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: [August 19, 2010, 4:16am UTC](https://community.mp3tag.de/t/rename-or-insert-info-into-filename/10674/2 "2010-08-19T04:16:15Z")

</div>

> [@DJSweet2x](#):
>
> New to this type of Tagging but so far I love the program. ... I was unable to find an answer searching the forum for the past 2 weeks. ...

Once you have all the additional data stored into separate tag fields, you can assemble the filename using the content from the tag fields in any order you like.

You can do this with Mp3tag in different ways. The "Convert" section provides the tools.

As far as the file has no standard tag fields set yet respectively existing tag fields are allowed to be overwritten, you can copy the text parts from the existing filename into their related standard tag fields, like TITLE, ARTIST, COMMENT and so on.  
Additionally you are allowed to create your own user defined tag fields with names of your own inspiration, for example MY\_INFO.

I suggest that you first split the existing filename by it's item parts into separate tag fields using the converter "Filename - Tag".  
Then assemble the new filename using the converter "Tag - Filename".

DD.20100819.0815.CEST

---

<div class="post-metadata">

### Author: ![hotdak3](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/f08c70/32.png) [@hotdak3](https://community.mp3tag.de/u/hotdak3)
#### Post date: [August 19, 2010, 12:12pm UTC](https://community.mp3tag.de/t/rename-or-insert-info-into-filename/10674/3 "2010-08-19T12:12:51Z")

</div>

Alright I'll give it a shot. Thanks for your help.

Update: That worked. What a fantastiic program.

---

<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 21, 2010, 12:19pm UTC](https://community.mp3tag.de/t/rename-or-insert-info-into-filename/10674/4 "2010-08-21T12:19:53Z")

</div>

How can I rename Artist:

```
 from to

```

Crystals, The \> The Crystals  
Hyland, Brian \> Brian Hyland  
Shadows, The \> The Shadows  
Vincent, Gene \> Gene Vincent  
Withers, Bill \> Bill Withers  
King, Ben E. \> Ben E. King

---

<div class="post-metadata">

### Author: ![hotdak3](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/f08c70/32.png) [@hotdak3](https://community.mp3tag.de/u/hotdak3)
#### Post date: [September 5, 2010, 4:18am UTC](https://community.mp3tag.de/t/rename-or-insert-info-into-filename/10674/5 "2010-09-05T04:18:04Z")

</div>

Try:  
_Action Groups_  
_Field:_ Artist  
_Regular Expression:_ ^(.+)\s(.+)$  
_Replace matches with:_ $2, $1
