# Folder name to tags

**URL:** https://community.mp3tag.de/t/folder-name-to-tags/62393
**Category:** Mac
**Created:** [October 13, 2023, 8:21am UTC](https://community.mp3tag.de/t/folder-name-to-tags/62393 "2023-10-13T08:21:58Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ankurbelnkrank](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/87869e/32.png) [@ankurbelnkrank](https://community.mp3tag.de/u/ankurbelnkrank)
#### Post date: [October 13, 2023, 8:21am UTC](https://community.mp3tag.de/t/folder-name-to-tags/62393/1 "2023-10-13T08:21:58Z")

</div>

Not really sure what did it but every single album tag for my entire collection got changed to ArtistAlbum (SlipknotIowa, Jeff MillsThe Extremist, etc). My one chance at saving myself the time/trouble/humiliation of retagging about 2000 folders I just got done processing and tagging with Discogs via MP3Tag is going to be from using the naming of the directories the tracks of each album lie in. Each directory is titled as follows, and note the brackets are not part of the tagging command format.

[%catalognumber%] %albumartist% - %album%  
....such as  
[LINO 100] Regis - Blood Witness Versions

What do I need to do to extract and replace the current (botched) album tag using the current directory naming format?

---

<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: [October 13, 2023, 8:28am UTC](https://community.mp3tag.de/t/folder-name-to-tags/62393/2 "2023-10-13T08:28:36Z")

</div>

Try Convert\>Filename-Tag  
String. `%dummy% - %album%\%dummy%`

Edit: are you on a Mac?  
Then you have to adapt the separator for a directory accordingly.

---

<div class="post-metadata">

### Author: ![ankurbelnkrank](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/87869e/32.png) [@ankurbelnkrank](https://community.mp3tag.de/u/ankurbelnkrank)
#### Post date: [October 13, 2023, 9:44am UTC](https://community.mp3tag.de/t/folder-name-to-tags/62393/3 "2023-10-13T09:44:09Z")

</div>

I'm on mac indeed.

how do i do this but send the %catalognumber% field in the directory title to that tag, and the following field to album?

---

<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: [October 13, 2023, 9:59am UTC](https://community.mp3tag.de/t/folder-name-to-tags/62393/4 "2023-10-13T09:59:03Z")

</div>

> [@ankurbelnkrank](#):
>
> [%catalognumber%] %albumartist% - %album%

Try:  
`[%catalognumber%] %albumartist% - %album%/%dummy%`

---

<div class="post-metadata">

### Author: ![ankurbelnkrank](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/87869e/32.png) [@ankurbelnkrank](https://community.mp3tag.de/u/ankurbelnkrank)
#### Post date: [October 13, 2023, 11:23am UTC](https://community.mp3tag.de/t/folder-name-to-tags/62393/5 "2023-10-13T11:23:46Z")

</div>

Thats the one!! Thanks much friend

---

<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: [November 12, 2023, 11:24am UTC](https://community.mp3tag.de/t/folder-name-to-tags/62393/6 "2023-11-12T11:24:35Z")

</div>

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