# How can I add a long hyphen in the filename field to a list of files

**URL:** <https://community.mp3tag.de/t/how-can-i-add-a-long-hyphen-in-the-filename-field-to-a-list-of-files/49072>\
**Category:** Support\
**Created:** [May 25, 2020, 5:22am UTC](https://community.mp3tag.de/t/how-can-i-add-a-long-hyphen-in-the-filename-field-to-a-list-of-files/49072 "2020-05-25T05:22:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kary](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/7cd45c/32.png) [@Kary](https://community.mp3tag.de/u/Kary)\
**Post date:** [May 25, 2020, 5:22am UTC](https://community.mp3tag.de/t/how-can-i-add-a-long-hyphen-in-the-filename-field-to-a-list-of-files/49072/1 "2020-05-25T05:22:51Z")

</div>

Hello, I hope you are well 🙂

I have a question for you, I hope you can help me. How can I add a character in the filename field to a long list of files whose ID always varies?

For example, I have something like:

2019-01-01 [v=aaabbbcccmmm] name of a file.mp4  
2019-02-05 [v=222bbbcccmmm] another name of a file.mp4  
2020-04-11 [v=777bdbcccmmm] yes another name.mp4  
2020-04-20 [v=a5abbbccc3mm] the name you want.mp4  
2020-04-21 [v=aarbbbcrcmmm] Mary had a little lambm.mp4

And I just want to add a long dash (—) to it right after that code. So the above should look like this:

2019-01-01 [v=aaabbbcccmmm] — name of a file.mp4  
2019-02-05 [v=222bbbcccmmm] — another name of a file.mp4  
2020-04-11 [v=777bdbcccmmm] — yes another name.mp4  
2020-04-20 [v=a5abbbccc3mm] — the name you want.mp4  
2020-04-21 [v=aarbbbcrcmmm] — Mary had a little lamb.mp4

after ] then a space then — then space and finally the name of the video

Maybe there is some function in mp3 like:

REPLACE  
[v=\*] \* .mp4

BY  
[v = \*] — \* .mp4

?

There are a lot of files so I need a way to do it in bulk, instead of adding that script file by file.

Any help is appreciated

---

<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:** [May 25, 2020, 5:58am UTC](https://community.mp3tag.de/t/how-can-i-add-a-long-hyphen-in-the-filename-field-to-a-list-of-files/49072/2 "2020-05-25T05:58:31Z")

</div>

> [@Kary](#):
>
> after ] then a space then — then space and finally the name of the video

Use an action of the type "Replace" for \_FILENAME (probably you have to type it in)  
Search string: `]`  
Replace string: `] —`

Or use Convert\>Filename-Filename  
Source mask: `%1] %2`  
Target mask: `%1] — %2`

---

<div class="post-metadata">

**Author:** ![Kary](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/7cd45c/32.png) [@Kary](https://community.mp3tag.de/u/Kary)\
**Post date:** [May 26, 2020, 8:33pm UTC](https://community.mp3tag.de/t/how-can-i-add-a-long-hyphen-in-the-filename-field-to-a-list-of-files/49072/3 "2020-05-26T20:33:14Z")

</div>

Thank you, ohrenkino, but  
I don't understand what you meant by this:

> [@ohrenkino](#):
>
> Or use Convert\>Filename-Filename  
> Source mask: `%1] %2`  
> Target mask: `%1] — %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:** [May 27, 2020, 4:38am UTC](https://community.mp3tag.de/t/how-can-i-add-a-long-hyphen-in-the-filename-field-to-a-list-of-files/49072/4 "2020-05-27T04:38:38Z")

</div>

> [@Kary](#):
>
> I don't understand what you meant by this:

Now I am puzzled:  
You don't understand that there is a function Convert\>Filename-Filename  
or the further parameters?

---

<div class="post-metadata">

**Author:** ![Crissov](https://community.mp3tag.de/user_avatar/community.mp3tag.de/crissov/32/6619_2.png) [@Crissov](https://community.mp3tag.de/u/Crissov)\
**Post date:** [May 27, 2020, 7:32am UTC](https://community.mp3tag.de/t/how-can-i-add-a-long-hyphen-in-the-filename-field-to-a-list-of-files/49072/5 "2020-05-27T07:32:05Z")

</div>

Are you even using Mp3tag, i.e. the piece of software this forum is all about?

---

<div class="post-metadata">

**Author:** ![Kary](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/7cd45c/32.png) [@Kary](https://community.mp3tag.de/u/Kary)\
**Post date:** [May 29, 2020, 1:54am UTC](https://community.mp3tag.de/t/how-can-i-add-a-long-hyphen-in-the-filename-field-to-a-list-of-files/49072/6 "2020-05-29T01:54:24Z")

</div>

> [@ohrenkino](#):
>
> **Source mask: `%1] %2`**  
> **Target mask: `%1] — %2`**

Sorry, the further parameters. What I don't understand is that about "Source mask" and "Target mask" and the% percentages. Where do I find that option within mp3tag? and what do I do with that. I don't know how to apply this that you wrote to me.

---

<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:** [May 29, 2020, 4:20am UTC](https://community.mp3tag.de/t/how-can-i-add-a-long-hyphen-in-the-filename-field-to-a-list-of-files/49072/7 "2020-05-29T04:20:40Z")

</div>

> [@Kary](#):
>
> Where do I find that option within mp3tag?

As I said:

> [@ohrenkino](#):
>
> Convert\>Filename-Filename

If you have further questions about that function, it would be best to have a look at the help:

> **[Rearrange Parts of File Names – Mp3tag Documentation](https://docs.mp3tag.de/converters/rearrange-filenames/)**
>
> Documentation on Filename to Filename, a converter to rearrange parts of file names. Mp3tag is the universal Tag Editor.

There, the mystery of

> [@Kary](#):
>
> the% percentages

will be revealed.

---

<div class="post-metadata">

**Author:** ![jewahe](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/35a633/32.png) [@jewahe](https://community.mp3tag.de/u/jewahe)\
**Post date:** [January 15, 2021, 5:16am UTC](https://community.mp3tag.de/t/how-can-i-add-a-long-hyphen-in-the-filename-field-to-a-list-of-files/49072/8 "2021-01-15T05:16:17Z")

</div>

Press Alt+0151 to get the em dash.

---

<div class="post-metadata">

**Author:** ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)\
**Post date:** [January 15, 2021, 2:11pm UTC](https://community.mp3tag.de/t/how-can-i-add-a-long-hyphen-in-the-filename-field-to-a-list-of-files/49072/9 "2021-01-15T14:11:15Z")

</div>


