# Changing folder names with Advanced Renamer

**URL:** https://community.mp3tag.de/t/changing-folder-names-with-advanced-renamer/64788
**Category:** Support
**Created:** [May 25, 2024, 4:03pm UTC](https://community.mp3tag.de/t/changing-folder-names-with-advanced-renamer/64788 "2024-05-25T16:03:20Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![cmach1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/46a35a/32.png) [@cmach1](https://community.mp3tag.de/u/cmach1)
#### Post date: [May 25, 2024, 4:03pm UTC](https://community.mp3tag.de/t/changing-folder-names-with-advanced-renamer/64788/1 "2024-05-25T16:03:20Z")

</div>

From what I understand, mp3tag doesn't edit folder names. For that purpose I use another program called Advanced Renamer.

I have a collection of folders where all I want is a particular section removed.

For example: **Capitol Media Music The Professional 01 - Tom Elliot - Space Electronics (MERS-6)**

What I want removed is the "- Tom Elliot" portion. All other folders that I want to rename follow this pattern, but the number of characters I want removed varies depending on the length of the artist name. I basically want to remove the name between the two hyphens, along with one of the hypens.

Advanced renamer also uses regular expressions and can remove patterns, but I don't know how to tell it to remove only the section I don't want.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [May 25, 2024, 4:05pm UTC](https://community.mp3tag.de/t/changing-folder-names-with-advanced-renamer/64788/2 "2024-05-25T16:05:40Z")

</div>

> [@cmach1](#):
>
> From what I understand, mp3tag doesn't edit folder names.

Yes, Mp3tag can do that:

> **[Rearrange Parts of File Names – Mp3tag Documentation](https://docs.mp3tag.de/converters/rearrange-filenames/)**
>
> Documentation on Filename to Filename, a converter to rearrange parts of file names. Mp3tag is the universal Tag Editor.

"Filenames" also includes "Foldernames" in this case.

> If you use the backslash character `\` within the new filename pattern, Mp3tag creates new directories below the current working directory for relative paths or at the at an absolute folder location if it starts with a drive specification, e.g., `D:\Music` .

---

<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 25, 2024, 4:08pm UTC](https://community.mp3tag.de/t/changing-folder-names-with-advanced-renamer/64788/3 "2024-05-25T16:08:05Z")

</div>

> [@cmach1](#):
>
> From what I understand, mp3tag doesn't edit folder names

MP3tag actually does.  
See the documentation:

> **[Rename Files – Mp3tag Documentation](https://docs.mp3tag.de/converters/rename-files/#create-folder-structures-based-on-tags)**
>
> Documentation on Tag to Filename, a converter to rename files based on tags. Mp3tag is the universal Tag Editor.

You could use Convert\>Tag-Tag for \_DIRECTORY  
Format string: %album% - %publisher%  
(assuming that

> [@cmach1](#):
>
> Space Electronics (MERS-6)

is stored in PUBLISHER).

---

<div class="post-metadata">

### Author: ![cmach1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/46a35a/32.png) [@cmach1](https://community.mp3tag.de/u/cmach1)
#### Post date: [May 25, 2024, 4:55pm UTC](https://community.mp3tag.de/t/changing-folder-names-with-advanced-renamer/64788/4 "2024-05-25T16:55:58Z")

</div>

The files inside the folders are not tagged yet, so pulling tags from them right now isn't going to work. Removing that one section from the folder names seems like a simple change. There's something I'm not getting.

Here's a visual of what some of the other folders look like:

![folders](https://community.mp3tag.de/uploads/default/original/3X/3/a/3adac3f4cf380063061de4955cc8b00b570c36ab.jpeg)

In all cases I want the artist's name that's between the hyphens to be removed. Everything else can remain.

---

<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 25, 2024, 5:17pm UTC](https://community.mp3tag.de/t/changing-folder-names-with-advanced-renamer/64788/5 "2024-05-25T17:17:29Z")

</div>

> [@cmach1](#):
>
> The files inside the folders are not tagged yet

So,wouldn't that be the better first step: get all the data you can get from all the sources that are there (including the folder name) from the unstructured strings to the structured metadata fields and then clean the folder structure?  
I would do it like that.  
If you insist on fiddling with the OS property of a fully or partially qualified filename, then

> [@cmach1](#):
>
> use another program called Advanced Renamer.

I bet that program has also a forum.

---

<div class="post-metadata">

### Author: ![Casual\_Tea](https://community.mp3tag.de/user_avatar/community.mp3tag.de/casual_tea/32/18886_2.png) [@Casual\_Tea](https://community.mp3tag.de/u/Casual_Tea)
#### Post date: [May 25, 2024, 7:06pm UTC](https://community.mp3tag.de/t/changing-folder-names-with-advanced-renamer/64788/6 "2024-05-25T19:06:00Z")

</div>

If you're already using Advanced Renamer, isn't this what you want to achieve?

 ![grafik](https://community.mp3tag.de/uploads/default/original/3X/d/c/dc8cee8558c0759dab2cf544438f812c6bee21fc.png)

Text to be replaced:

```auto
\s-.*-\s

```

Replace with:

```auto
 - 

```

---

<div class="post-metadata">

### Author: ![cmach1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/46a35a/32.png) [@cmach1](https://community.mp3tag.de/u/cmach1)
#### Post date: [May 25, 2024, 7:28pm UTC](https://community.mp3tag.de/t/changing-folder-names-with-advanced-renamer/64788/7 "2024-05-25T19:28:31Z")

</div>

> [@Casual\_Tea](#):
>
> If you're already using Advanced Renamer, isn't this what you want to achieve?
> 
> ![grafik](https://community.mp3tag.de/uploads/default/original/3X/d/c/dc8cee8558c0759dab2cf544438f812c6bee21fc.png)
> 
> Text to be replaced:
> 
> ```auto
> \s-.*-\s
> 
> ```
> 
> Replace with:
> 
> ```auto
> - 
> 
> ```

Yes it is. Thank you.

---

<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: [August 13, 2024, 12:37pm UTC](https://community.mp3tag.de/t/changing-folder-names-with-advanced-renamer/64788/8 "2024-08-13T12:37:26Z")

</div>


