# Create folder structure based on tags

**URL:** https://community.mp3tag.de/t/create-folder-structure-based-on-tags/18916
**Category:** Support
**Created:** [April 23, 2017, 12:03pm UTC](https://community.mp3tag.de/t/create-folder-structure-based-on-tags/18916 "2017-04-23T12:03:06Z")
**Posts on this page:** 1
**Showing post:** 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: [April 23, 2017, 1:13pm UTC](https://community.mp3tag.de/t/create-folder-structure-based-on-tags/18916/2 "2017-04-23T13:13:43Z")

</div>

> [@Shemndrapolk](#):
>
> ... convert tags to filename, but is there a way to also restructure the Windows folders based on the tag values?
> 
> ...the following hierarchy: [ARTIST][ALBUM]\tracks
> 
> so my music\Pink Floyd - The Wall\tracks would become my music\Pink Floyd\The Wall\tracks
> 
> (Assuming of course ARTIST tag already = Pink Floyd and ALBUM tag already = The Wall).
> 
> I also have another question which may be a bit more complicated:
> 
> If the ARTIST is an individual rather than a band I have my ARTIST tag set to Last name, First Name (Drake, Nick rather than Nick Drake). Is there a way to automate this renaming process?

I would use an action of the type "Format value" or the function Convert\>Tag-Tag for \_DIRECTORY  
and an absolute path e.g.  
Format string: d:\my music\%artist%\%album%

The swapping problem is handled a lot of times in the forum, e.g. here:  
[/t/11020/1](https://community.mp3tag.de/t/11020/1)

But you should revise your naming scheme, e.g.  
Franz Ferdinand is the name of a group that looks like a single artist.  
The Avener is the name of a single artist that looks like a group.  
What do you do with 2 single artists like Peter Gabriel & Kate Bush - would they become Gabriel, Peter & Bush, Kate?

I would never swap anything in names because there are too many exceptions.

---

_[View the full topic](https://community.mp3tag.de/t/create-folder-structure-based-on-tags/18916)._
