# Rationalising multiple artists in filename (artist folder)

**URL:** <https://discourse.beets.io/t/rationalising-multiple-artists-in-filename-artist-folder/297>\
**Category:** Help\
**Created:** [February 16, 2018, 6:38pm UTC](https://discourse.beets.io/t/rationalising-multiple-artists-in-filename-artist-folder/297 "2018-02-16T18:38:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathanthomas83](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/jonathanthomas83/32/43_2.png) [@jonathanthomas83](https://discourse.beets.io/u/jonathanthomas83)\
**Post date:** [February 16, 2018, 6:38pm UTC](https://discourse.beets.io/t/rationalising-multiple-artists-in-filename-artist-folder/297/1 "2018-02-16T18:38:55Z")

</div>

So I’m looking to clean up the naming hierarchy of my library and the main thing that bugs me is multiple artists in the name of the artist folder.

eg. Andrews, Michael feat. Jules, Gary  
Ideally, this should just be ‘Andrews, Michael’.

Also multiple instances of an artist when I really just want them all in under the same folder

eg.

Zimmer, Hans  
Zimmer, Hans & Gerrard, Lisa  
Zimmer, Hans & Howard, James Newton  
Zimmer, Hans & Wallfisch, Benjamin

Hendirx, Jimi  
Hendrix, Jimi, The, Experience

Coldplay  
Coldplay & Rihanna (in musicbrainz as ‘feat Rihanna’

I’m sure I’ve read something about a way to solve these two issues before but I can’t seem to find anything.

Here’s a link to my config…

> <https://gist.github.com/jonathanthomas83/9486d94e236d8bb44867664213ddb276>

Any help would be greatly appreciated, thank you!  
Jonathan

---

<div class="post-metadata">

**Author:** ![adrian](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/adrian/32/4_2.png) [@adrian](https://discourse.beets.io/u/adrian)\
**Post date:** [February 16, 2018, 7:46pm UTC](https://discourse.beets.io/t/rationalising-multiple-artists-in-filename-artist-folder/297/2 "2018-02-16T19:46:33Z")

</div>

Hello! This is what the `rewrite` plugin was originally created for. Have you checked that out yet?

---

<div class="post-metadata">

**Author:** ![jonathanthomas83](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.beets.io/jonathanthomas83/32/43_2.png) [@jonathanthomas83](https://discourse.beets.io/u/jonathanthomas83)\
**Post date:** [February 16, 2018, 8:10pm UTC](https://discourse.beets.io/t/rationalising-multiple-artists-in-filename-artist-folder/297/3 "2018-02-16T20:10:00Z")

</div>

Thanks, Adrian, I knew I’d seen it somewhere and the docs is where I’d seen it! I used that Jimi example in the hope that it’d prompt someone’s memory as it’s the exact example used on the plugin page.

Thanks again!
