# Multiple artists in single folder

**URL:** https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892
**Category:** Support
**Created:** [August 12, 2020, 9:57pm UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892 "2020-08-12T21:57:24Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![sheepdisease](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sheepdisease](https://community.mp3tag.de/u/sheepdisease)
#### Post date: [August 12, 2020, 9:57pm UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/1 "2020-08-12T21:57:24Z")

</div>

Hello there, I have a large number of files in one folder. They all belond to different artists and albums.

If I use DIRECTORY, everything gets moved to the folder of the first album the action is used against. Is there a way to have each album go into its respective Artist\>Album directory without manually creating all the necessary folders?

---

<div class="post-metadata">

### Author: ![ryerman](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ryerman/32/5285_2.png) [@ryerman](https://community.mp3tag.de/u/ryerman)
#### Post date: [August 13, 2020, 4:28am UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/2 "2020-08-13T04:28:43Z")

</div>

> [@Converters to rename files or to import tags](https://community.mp3tag.de/t/converters-to-rename-files-or-to-import-tags/8016):
>
> Mp3tag provides a variety of possibilities to get tag information from parts of the filename or rename files based on the information stored in the tag of a file. The base concept behind all converters in Mp3tag is the so called format string, which describes a pattern (or template) of a filename or a line in a tag-list file. A format string consists of any characters and predefined placeholders or scripting functions. Every placeholder begins with the percent sign %, followed by a tag field n…

---

<div class="post-metadata">

### Author: ![sheepdisease](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sheepdisease](https://community.mp3tag.de/u/sheepdisease)
#### Post date: [August 13, 2020, 6:19am UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/3 "2020-08-13T06:19:44Z")

</div>

> ### How to create directory structures based on the tags and move the files?
> 
> When you're using a backslash in a format string, Mp3tag will create a directory from the part of the format string in front of a backslash.
> 
> Here is an example that creates new directories under `D:\Music` :  
> `D:\Music\$left(%artist%,1)\%artist%-%year%-%album%\$num(%track%,2). %title%`

Thanks Ryerman, that isn't the answer though.

 ![image](https://community.mp3tag.de/uploads/default/original/2X/c/c3d67aea97069d286b4c01e31cb0c3463ef3597e.png)  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/a/a7a98c6bd39b9e9a9f08cafb629b9b60905e6c7e.png)

Both actions move ALL the files in the folder to one new folder. I want each track to go to the respective Artist\>Album folder.

---

<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, 2020, 6:43am UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/4 "2020-08-13T06:43:38Z")

</div>

The HowTo says

Renaming files, creating folders and complete directory structures from tags can be done by using the ![:mt_ttf:](https://community.mp3tag.de/uploads/default/original/1X/922db76db5d45b2e558d10f3d8c25fb8bc04fd27.png ":mt\_ttf:") Converter \> Tag - Filename with a format string

But you used \_DIRECTORY instead of the \_FILENAME  
So @ryerman's answer was correct - the application was not.

---

<div class="post-metadata">

### Author: ![sheepdisease](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sheepdisease](https://community.mp3tag.de/u/sheepdisease)
#### Post date: [August 13, 2020, 6:52am UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/5 "2020-08-13T06:52:42Z")

</div>

> [@ohrenkino](#):
>
> \_FILENAME

Thanks

It should have been:

\_FILENAME

`> A:\Music\Record\%artist%\%album%\$num(%track%,2) %title%`

---

<div class="post-metadata">

### Author: ![sheepdisease](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sheepdisease](https://community.mp3tag.de/u/sheepdisease)
#### Post date: [August 13, 2020, 6:57am UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/6 "2020-08-13T06:57:16Z")

</div>

This is going to solve a lot of problems, I really appreciate your help.

---

<div class="post-metadata">

### Author: ![sheepdisease](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sheepdisease](https://community.mp3tag.de/u/sheepdisease)
#### Post date: [August 13, 2020, 7:10am UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/7 "2020-08-13T07:10:52Z")

</div>

The downside is that any album art in the original folder doesn't get moved like it would with \_DIRECTORY. Not sure what I could do about that without manual intervention?

---

<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, 2020, 7:26am UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/8 "2020-08-13T07:26:19Z")

</div>

> [@sheepdisease](#):
>
> The downside is that any album art in the original folder doesn't get moved like it would with \_DIRECTORY

Yes this is so.  
The only way around:  
Embed the covers in the audio files.  
Rename only those files that need an extra folder.  
Use a command shell to delete all picture files in all subfolders.  
`del /s *.jpg`  
Export all cover files with an action. The upside: you get nice consistently named picture files.

---

<div class="post-metadata">

### Author: ![sheepdisease](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sheepdisease](https://community.mp3tag.de/u/sheepdisease)
#### Post date: [August 13, 2020, 7:28am UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/9 "2020-08-13T07:28:58Z")

</div>

Okay, so is there a way for mp3tag to check for any jpg or jpeg files in a folder and then ember them? If there is, I can add an action before running the file rename/directory change.

---

<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, 2020, 7:32am UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/10 "2020-08-13T07:32:16Z")

</div>

An action of the type "Import cover from file"  
with a format string like "`*.jpg`  
which takes the first jpg file found in the current folder.

Or you have a naming scheme to identify which cover file belongs to which file.

---

<div class="post-metadata">

### Author: ![sheepdisease](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sheepdisease](https://community.mp3tag.de/u/sheepdisease)
#### Post date: [August 13, 2020, 1:06pm UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/11 "2020-08-13T13:06:07Z")

</div>

> [@ohrenkino](#):
>
> \*.jpg

Thank you, I didn't know that was possible. Would I have to create a separate action to include .jpeg? Also, is there a way to suppress any errors where a file cannot be found?

---

<div class="post-metadata">

### Author: ![sheepdisease](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sheepdisease](https://community.mp3tag.de/u/sheepdisease)
#### Post date: [August 25, 2020, 4:52pm UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/12 "2020-08-25T16:52:33Z")

</div>

Could some please confirm?

---

<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 25, 2020, 5:05pm UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/13 "2020-08-25T17:05:01Z")

</div>

> [@sheepdisease](#):
>
> Would I have to create a separate action to include .jpeg?

> [@sheepdisease](#):
>
> Could some please confirm?

Isn't this something that you can easily find out yourself?  
Or yes, to confirm: the file system reacts only to those strings that you specify.  
But as wildcards are allowed, you could also use  
`*.j*g`  
if that leads to better results.  
No, I don't think that you can suppress OS messages.

---

<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: [September 24, 2020, 5:05pm UTC](https://community.mp3tag.de/t/multiple-artists-in-single-folder/49892/14 "2020-09-24T17:05:13Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
