# Create action to move files based off genre

**URL:** https://community.mp3tag.de/t/create-action-to-move-files-based-off-genre/67469
**Category:** Support
**Created:** [February 11, 2025, 2:10am UTC](https://community.mp3tag.de/t/create-action-to-move-files-based-off-genre/67469 "2025-02-11T02:10:01Z")
**Posts on this page:** 1
**Showing post:** 8

<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: [February 11, 2025, 8:04am UTC](https://community.mp3tag.de/t/create-action-to-move-files-based-off-genre/67469/8 "2025-02-11T08:04:40Z")

</div>

> [@LyricsLover](#):
>
> You could also create (many) Actions from type "Format value" with this Format string:  
> `$ifgreater($strstr(%GENRE%,mumble rap),0,.\hip hop\%_filename%,%_filename%)`

As an alternative I would suggest to use  
Format string: `$replace(%genre%,Mumble Rap,Hip Hop,east coast hip hop,Hip Hop)\%_filename%`  
with an increasing list of pairs to replace.  
The identification would have to be done by the user.  
So I wonder what would be faster: let the original action run and then scan through the list of folders and move the files manually or scan through the list of genres and adapt the filename generation action each time a new subgenre is found.

In general: I do not think that arranging files by genre in the file system is a good idea as this is a classical task for the player. Modern players also support multiple genres, something that the filesystem most likely will not.

---

_[View the full topic](https://community.mp3tag.de/t/create-action-to-move-files-based-off-genre/67469)._
