# Request approach to extract track and title to tag from existing title

**URL:** <https://community.mp3tag.de/t/request-approach-to-extract-track-and-title-to-tag-from-existing-title/59263>\
**Category:** Support\
**Created:** [December 2, 2022, 6:13pm UTC](https://community.mp3tag.de/t/request-approach-to-extract-track-and-title-to-tag-from-existing-title/59263 "2022-12-02T18:13:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChiefCass](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/13edae/32.png) [@ChiefCass](https://community.mp3tag.de/u/ChiefCass)\
**Post date:** [December 2, 2022, 6:13pm UTC](https://community.mp3tag.de/t/request-approach-to-extract-track-and-title-to-tag-from-existing-title/59263/1 "2022-12-02T18:13:24Z")

</div>

Hello. New user attempting to use some of the power embedded in MP3Tag. Unfortunately, I am very poor in understanding formatting, Perl , delimiting, etc. etc.  
I have a large set of files that has BOTH the filename and the title formatted as  
`artist - album - track - title`  
I maintain my library in the format below using folders and files in the OS (Win10) and would like to add this LARGE group of non-conforming files into my library...

Can anyone point me to the best tutorial or outline a method to change the filename to:  
`folder1\folder2\file.mp3`  
where:  
'folder1 = artist  
'folder2 = album  
'file= track - title'

AND the title of the file tag to be JUST the song's title without the other information it now carries.

So far I have thoroughly confused myself with creating actions, using export to .csv, formatting the csv and then attempting to import the .csv - with no joy creating anything workable or creating new folders, manually stripping the title field to be ONLY the song title then saving it (works but tedious when there's GOT to BE a Better Way).

Thanks in advance for any leads, pointers or examples to accomplish my goal(s) or tell me what MP3Tag can't do...

---

<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:** [December 2, 2022, 6:16pm UTC](https://community.mp3tag.de/t/request-approach-to-extract-track-and-title-to-tag-from-existing-title/59263/2 "2022-12-02T18:16:03Z")

</div>

See e.g. the documenation:

> **[First Steps – Mp3tag Documentation](https://docs.mp3tag.de/getting-started/first-steps/#importing-parts-of-the-file-name-to-the-tag)**
>
> A collection of tasks with step-by-step instructions intended for novice users of Mp3tag. Mp3tag is the universal Tag Editor.

> [@ChiefCass](#):
>
> `folder1\folder2\file.mp3`  
> where:  
> 'folder1 = artist  
> 'folder2 = album  
> 'file= track - title'

Try Convert\>Filename-Tag  
Mask: `%artist%\%album%\%title%`

---

<div class="post-metadata">

**Author:** ![ChiefCass](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/13edae/32.png) [@ChiefCass](https://community.mp3tag.de/u/ChiefCass)\
**Post date:** [December 2, 2022, 6:21pm UTC](https://community.mp3tag.de/t/request-approach-to-extract-track-and-title-to-tag-from-existing-title/59263/3 "2022-12-02T18:21:47Z")

</div>

Thank You! I had not found that section. It appears to be exactly what I needed!

---

<div class="post-metadata">

**Author:** ![MotleyG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/motleyg/32/440_2.png) [@MotleyG](https://community.mp3tag.de/u/MotleyG)\
**Post date:** [December 2, 2022, 6:22pm UTC](https://community.mp3tag.de/t/request-approach-to-extract-track-and-title-to-tag-from-existing-title/59263/4 "2022-12-02T18:22:34Z")

</div>

Just to be clear, it does appear that you do not already have the correctly stored information for `Artist` `Album` `Track` and `Title` stored in their correct tag fields, since you stated that your current title field matches this long filename structure. If not, you can first use the Action `Guess Values` to place them from this filename like so.  
Source format: %\_filename%  
Guessing pattern: %artist% - %album% - %track% - %title%

Once these are set up correctly, you can use the suggestion from @ohrenkino to update your folder\filename structure.

---

<div class="post-metadata">

**Author:** ![ChiefCass](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/13edae/32.png) [@ChiefCass](https://community.mp3tag.de/u/ChiefCass)\
**Post date:** [December 2, 2022, 8:05pm UTC](https://community.mp3tag.de/t/request-approach-to-extract-track-and-title-to-tag-from-existing-title/59263/5 "2022-12-02T20:05:13Z")

</div>

Thanks!  
My file's `Title` column directly duplicates the `Filename` column and some `track` info is missing. everything I need is (mostly) separated by 'space hyphen space'  
I'm working my way through the files now converting `filenames` to `tags` (very few errors as only a few have a space hyphen space inside a field...) then converting `tags` to `filenames` to put the files into their respective `\artist\album\track - title' structure.  
Thanks for quick reply and I love the Action 'Guess Values". Man, talk about powerful!

---

<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:** [January 1, 2023, 8:05pm UTC](https://community.mp3tag.de/t/request-approach-to-extract-track-and-title-to-tag-from-existing-title/59263/6 "2023-01-01T20:05:30Z")

</div>

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