# Sorting folder by genre instead of file

**URL:** https://community.mp3tag.de/t/sorting-folder-by-genre-instead-of-file/45966
**Category:** Support
**Created:** [July 22, 2019, 2:05pm UTC](https://community.mp3tag.de/t/sorting-folder-by-genre-instead-of-file/45966 "2019-07-22T14:05:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![MartyK](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/838e76/32.png) [@MartyK](https://community.mp3tag.de/u/MartyK)
#### Post date: [July 22, 2019, 2:05pm UTC](https://community.mp3tag.de/t/sorting-folder-by-genre-instead-of-file/45966/1 "2019-07-22T14:05:04Z")

</div>

Quite hard to explain this but here goes

Got a whole folder of todays date. Inside that folder are many other folders of each release..

I want to remove the whole of the trance collection and put it in a folder called trance same goes with RNB, DNB, Club, House etc...

Please see screenshot to get a better idea of what i mean.

I would like to find out which folder contain the trance tracks and then put those folders into another folder called 'TRANCE' so basically sort each folder by genre then move it to its own folder of that genre. If i load the WHOLE dir in mp3tag.. yes I can sort it by genre and have the option to copy but I want the option to copy the parent directory instead of the files themselves.

Do you know what i mean? Very hard to explain.

Thanks

 ![genre](https://community.mp3tag.de/uploads/default/original/2X/d/d67f68c35b9107286d1e4de068cbf394a81be207.png)

---

<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: [July 22, 2019, 3:19pm UTC](https://community.mp3tag.de/t/sorting-folder-by-genre-instead-of-file/45966/2 "2019-07-22T15:19:24Z")

</div>

See the FAQs on how to create folder structures from tags:

> [@Converters to rename files or to import tags](https://community.mp3tag.de/t/converters-to-rename-files-or-to-import-tags/8016/2):
>
> How to rename files based on tags? Renaming files, creating folders and complete directory structures from tags can be done by using the [:mt\_ttf:] Converter \> Tag - Filename with a format string. A format string is used to describe the structure of the desired filename. Besides using normal placeholders (such as %artist%, %title%, ...) and arbitrary text (e.g., Music) it also allows for separating folders with the backslash \ character. Here is an example that renames the file based on the t…

---

<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: [February 9, 2026, 12:28pm UTC](https://community.mp3tag.de/t/sorting-folder-by-genre-instead-of-file/45966/3 "2026-02-09T12:28:11Z")

</div>


