# Import text to file help pls

**URL:** <https://community.mp3tag.de/t/import-text-to-file-help-pls/62181>\
**Category:** Support\
**Created:** [September 23, 2023, 2:04pm UTC](https://community.mp3tag.de/t/import-text-to-file-help-pls/62181 "2023-09-23T14:04:20Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)\
**Post date:** [September 23, 2023, 2:04pm UTC](https://community.mp3tag.de/t/import-text-to-file-help-pls/62181/1 "2023-09-23T14:04:20Z")

</div>

My files name is: (08) – Color Me Badd – I Wanna Sex You Up (104 Bpm) (11.40 MB)

I want to be able to change the following fields to reflect the above informaiton: track, artist, title, bpm and file size.

How do I go about import the above text into the fields?  
I'm struggling to understand the whole import text file thingy

---

<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:** [September 23, 2023, 2:22pm UTC](https://community.mp3tag.de/t/import-text-to-file-help-pls/62181/2 "2023-09-23T14:22:31Z")

</div>

> [@mbrazil05](#):
>
> My files name is: (08) – Color Me Badd – I Wanna Sex You Up (104 Bpm) (11.40 MB)

If that is the filename then I would recommend the function Convert\>Filename-Tag.  
Try as  
Format string: `(%track%) – %artist% – %title% (%bpm% %dummy%`

You cannot import the file property "file size".

The function Convert\>Fielname-Tag has a preview and should show you which part of the filename would be assigned to which field.  
If you do not see the correct data in the correct fields, then the format string does not match the pattern in the filename. Please note that every space, comma and hyphen has to be accurately represented in the format string if it serves as a separator between the fields.

---

<div class="post-metadata">

**Author:** ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)\
**Post date:** [September 23, 2023, 2:48pm UTC](https://community.mp3tag.de/t/import-text-to-file-help-pls/62181/3 "2023-09-23T14:48:31Z")

</div>

> [@ohrenkino](#):
>
> (%track%) – %artist% – %title% (%bpm% %dummy%

I have a folder with about 10 files and they all have the same file naming schedme. Here is an example of one of the file names: 08-color\_me\_badd-i\_wanna\_sex\_you\_up\_104\_bpm

I want to be able to fill in the respective fields (track#, artist, title, bpm) in MP3Tag but as you can see I have to fix a few issues with the file name.

1. remove the underscore - i can do this easy enough
2. I want to move the bpm# to the bpm field in mp3tag - I don't know to do this

---

<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:** [September 23, 2023, 2:51pm UTC](https://community.mp3tag.de/t/import-text-to-file-help-pls/62181/4 "2023-09-23T14:51:18Z")

</div>

The converter works for all the selected files and for those with a match between filename and pattern.  
I don't understand

> [@mbrazil05](#):
>
> Now how do I get them all renamed?

Importing data to the tag fields does not modify the filename (i.e. rename them).

---

<div class="post-metadata">

**Author:** ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)\
**Post date:** [September 23, 2023, 2:52pm UTC](https://community.mp3tag.de/t/import-text-to-file-help-pls/62181/5 "2023-09-23T14:52:07Z")

</div>

> [@ohrenkino](#):
>
> (%track%) – %artist% – %title% (%bpm% %dummy%

I'm sorry but I should have been clearler.. my files names are all jacked up, thats why im having such an issue.... do you have time to talk offline I can explain better?

---

<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:** [September 23, 2023, 2:55pm UTC](https://community.mp3tag.de/t/import-text-to-file-help-pls/62181/6 "2023-09-23T14:55:52Z")

</div>

What needs more explanation?  
The list you supplied starting with  
(01) – Estelle Feat. Kanye West – American Boy (118 Bpm) (12.85 MB)  
...  
(16) – Flo Rida Vs. Pussy Cat Dolls – When I Grow Up, I’ma Get Low (120 Bpm) (11.70 MB)

looks like the pattern would match.  
If that does not produce any results, then could you supply a screenshot of a real life filename?  
That screenshot optimally would also show the Convert\>Filename-Tag dialogue with the filled in format string.

---

<div class="post-metadata">

**Author:** ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)\
**Post date:** [September 23, 2023, 3:03pm UTC](https://community.mp3tag.de/t/import-text-to-file-help-pls/62181/7 "2023-09-23T15:03:53Z")

</div>

Please forgive me but I am confusing everyone including myself. I'm going to start over.

I have a folder with about 10 files and they all have the same file naming schedme. Here is an example of one of the file names: 08-color\_me\_badd-i\_wanna\_sex\_you\_up\_104\_bpm

I want to be able to fill in the respective fields (track#, artist, title, bpm) in MP3Tag but as you can see I have to fix a few issues with the file name.

1. remove the underscore - i can do this easy enough
2. I want to move the bpm# to the bpm field in mp3tag - I don't know to do this

---

<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:** [September 23, 2023, 3:13pm UTC](https://community.mp3tag.de/t/import-text-to-file-help-pls/62181/8 "2023-09-23T15:13:05Z")

</div>

> [@mbrazil05](#):
>
> 08-color\_me\_badd-i\_wanna\_sex\_you\_up\_104\_bpm

Try an action of the type "Guess value"  
Source pattern: `$regexp($replace(%_filename%,_, ),(.*) (\d+) bpm,$1==$2)`  
Target string: `%track%-%artist%-%title%==%bpm%`

---

<div class="post-metadata">

**Author:** ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)\
**Post date:** [September 23, 2023, 3:25pm UTC](https://community.mp3tag.de/t/import-text-to-file-help-pls/62181/9 "2023-09-23T15:25:05Z")

</div>

> [@ohrenkino](#):
>
> %track%-%artist%-%title%==%bpm%

THANK YOU, THANK YOU, THANK YOU!!!! that was it. I'd love to know figured it out.... you are the man!!

---

<div class="post-metadata">

**Author:** ![mbrazil05](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mbrazil05](https://community.mp3tag.de/u/mbrazil05)\
**Post date:** [September 23, 2023, 3:27pm UTC](https://community.mp3tag.de/t/import-text-to-file-help-pls/62181/10 "2023-09-23T15:27:53Z")

</div>

on a slightly different note, any chance I can get some help on renaming this file correctly?

01 - Pitbull - Ay Chico (118 Bpm)

update: I figured it out!! woooohh hoooo!! lol

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [October 23, 2023, 3:28pm UTC](https://community.mp3tag.de/t/import-text-to-file-help-pls/62181/11 "2023-10-23T15:28:11Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
