# Create folder structures from tags

**URL:** <https://community.mp3tag.de/t/create-folder-structures-from-tags/53125>\
**Category:** Mac\
**Created:** [May 7, 2021, 1:02am UTC](https://community.mp3tag.de/t/create-folder-structures-from-tags/53125 "2021-05-07T01:02:31Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ReyRaym](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/73ab20/32.png) [@ReyRaym](https://community.mp3tag.de/u/ReyRaym)\
**Post date:** [May 7, 2021, 1:02am UTC](https://community.mp3tag.de/t/create-folder-structures-from-tags/53125/1 "2021-05-07T01:02:31Z")

</div>

No sorting/creating subfolders.  
This works in Windows, but not on mac os. This would put songs into folders with subfolders.  
So genre folder, with albumartist folder inside the genre folder, etc..

Tag - Filename

SEPARATE PER GENRE & ARTIST

%genre%%albumartist%%album%%title%

😢 😭

---

<div class="post-metadata">

**Author:** ![ReyRaym](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/73ab20/32.png) [@ReyRaym](https://community.mp3tag.de/u/ReyRaym)\
**Post date:** [May 7, 2021, 1:57am UTC](https://community.mp3tag.de/t/create-folder-structures-from-tags/53125/2 "2021-05-07T01:57:16Z")

</div>

The long way:

Create action - Format tag field - Field is \_FILENAME - Format is %genre%%title%  
Copy & Paste to new folder with genre name.  
Do the same for all fields, substituting Format is with next field, keeping %title% on end  
Copy & Paste to new folder with field name (be it albumartist, album, etc.)

On mac, this is not my mp3tag. Feel like a winer now lol  
😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭 😭

---

<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 7, 2021, 4:32am UTC](https://community.mp3tag.de/t/create-folder-structures-from-tags/53125/3 "2021-05-07T04:32:35Z")

</div>

> [@ReyRaym](#):
>
> Feel like a winer now

Did you have a look at the Mac documentation about how to [create folder structures from tags](https://community.mp3tag.de/t/rename-files-and-import-tags-from-files/51720#create-folder-structures-based-on-tags)?  
I doubt it.

---

<div class="post-metadata">

**Author:** ![ReyRaym](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/73ab20/32.png) [@ReyRaym](https://community.mp3tag.de/u/ReyRaym)\
**Post date:** [May 7, 2021, 4:38am UTC](https://community.mp3tag.de/t/create-folder-structures-from-tags/53125/4 "2021-05-07T04:38:09Z")

</div>

> [@ohrenkino](#):
>
> I doubt it.

Love that lol

No I haven’t, but will take a look. I’m gonna have to let go of how mp3tag works in Windows.  
Thanks

---

<div class="post-metadata">

**Author:** ![ReyRaym](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/73ab20/32.png) [@ReyRaym](https://community.mp3tag.de/u/ReyRaym)\
**Post date:** [May 7, 2021, 10:55pm UTC](https://community.mp3tag.de/t/create-folder-structures-from-tags/53125/5 "2021-05-07T22:55:02Z")

</div>

Definitely time to unlearn mp3tag for Windows. Simple backslash to forwardslash, and all is right!!!!

Thank you very much!!!!!!!!

---

<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:** [May 8, 2021, 6:50am UTC](https://community.mp3tag.de/t/create-folder-structures-from-tags/53125/6 "2021-05-08T06:50:25Z")

</div>

Yes, the forward slash is the standard folder separator on macOS (it's not only specific to Mp3tag).

---

<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 9, 2021, 10:47am UTC](https://community.mp3tag.de/t/create-folder-structures-from-tags/53125/7 "2021-05-09T10:47:34Z")

</div>

Should there perhaps be a function similar to `$meta_sep(x,sep)`, which concatenates its parameters with either `\` on Windows or `/` on OS X?  
`$path(%albumartistsort%,%year% - %albumsort%)` ⇒ `./Various/2025 - Best of/`

By the way, I wish there was a third optional parameter in `$meta_sep()` to specify the separator between the second-to-last and the last item, e.g. `$meta_sep(%artist%,', ', & )`.

---

<div class="post-metadata">

**Author:** ![ReyRaym](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/73ab20/32.png) [@ReyRaym](https://community.mp3tag.de/u/ReyRaym)\
**Post date:** [May 9, 2021, 1:54pm UTC](https://community.mp3tag.de/t/create-folder-structures-from-tags/53125/8 "2021-05-09T13:54:53Z")

</div>

Never used $meta\_sep(x,sep), so IDK.

Maybe ohrenkino or Florian can elaborate on this. I try to keep it simple as I can.

---

<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 9, 2021, 1:59pm UTC](https://community.mp3tag.de/t/create-folder-structures-from-tags/53125/9 "2021-05-09T13:59:35Z")

</div>

I think that fully qualified filenames vary in so many aspects in Windows and MacOS that a function just to replace the slash would be over the top.  
I think one can expect the users of the respective OS to know the standards for such properties.

---

<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:** [June 8, 2021, 2:00pm UTC](https://community.mp3tag.de/t/create-folder-structures-from-tags/53125/10 "2021-06-08T14:00:19Z")

</div>

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