# Struggling with the rename files from tags..get extra folders

**URL:** https://community.mp3tag.de/t/struggling-with-the-rename-files-from-tags-get-extra-folders/51728
**Category:** Mac
**Created:** [January 25, 2021, 5:42pm UTC](https://community.mp3tag.de/t/struggling-with-the-rename-files-from-tags-get-extra-folders/51728 "2021-01-25T17:42:07Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Zeltak](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/a88e4f/32.png) [@Zeltak](https://community.mp3tag.de/u/Zeltak)
#### Post date: [January 25, 2021, 5:42pm UTC](https://community.mp3tag.de/t/struggling-with-the-rename-files-from-tags-get-extra-folders/51728/1 "2021-01-25T17:42:07Z")

</div>

Hi @Florian and thanks so much again for bringing mp3tag to the mac!

i followed your documentation on [Rename Files and Import Tags from Files](https://community.mp3tag.de/t/rename-files-and-import-tags-from-files/51720)

it do manage to get the files renamed but i always get extra folders in the process

_i.e._ i have this syntax

```auto
%ALBUMARTIST%/%ALBUM%/$num(%track%,2). %title%

```

so i expect to have this results: `Suede/A new morning/01 Positivity.m4a`

instead for some bizarre reason i get this

`Suede/A new morning//01 Positivity/01 Positivity.m4a`

what am i missing here?

thx again in advance

Z

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [January 25, 2021, 5:53pm UTC](https://community.mp3tag.de/t/struggling-with-the-rename-files-from-tags-get-extra-folders/51728/2 "2021-01-25T17:53:12Z")

</div>

Hi and welcome!

I assume that you're using the latest beta 7 and that you're using the converter "Tag - Filename".

> [@Zeltak](#):
>
> `%ALBUMARTIST%/%ALBUM%/$num(%track%,2). %title%`

This should definitely give the expected result.

Can you check if you have an additional `/$num(%track%,2). %title%` at the end of the format string? You can resize the dialog to see all what's in the format string field.

---

<div class="post-metadata">

### Author: ![Zeltak](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/a88e4f/32.png) [@Zeltak](https://community.mp3tag.de/u/Zeltak)
#### Post date: [January 25, 2021, 7:18pm UTC](https://community.mp3tag.de/t/struggling-with-the-rename-files-from-tags-get-extra-folders/51728/3 "2021-01-25T19:18:29Z")

</div>

thx @Florian !

yeah i checked and don't have an extra `/`. i did also try it with the actions as well

![image](https://community.mp3tag.de/uploads/default/original/2X/e/e45cd9e2fd5d169a0867d560eb2c4b5b679fb4d0.png)

and the extra folder result

 ![image](https://community.mp3tag.de/uploads/default/original/2X/4/46f08c9006ccfa44a3bfda2cf0d5af412c45fb9a.png)

this btw is a copy of my current syntax from the action:

`%ARTIST%/%ALBUM%/ $num(%track%,2). %title%`

any things i should try?

using lates Beta on the mac (Version 1.0.0-beta.7 (29))

best regards

Z

---

<div class="post-metadata">

### Author: ![Rigido](https://community.mp3tag.de/user_avatar/community.mp3tag.de/rigido/32/8725_2.png) [@Rigido](https://community.mp3tag.de/u/Rigido)
#### Post date: [January 25, 2021, 7:38pm UTC](https://community.mp3tag.de/t/struggling-with-the-rename-files-from-tags-get-extra-folders/51728/4 "2021-01-25T19:38:34Z")

</div>

I think the problem is between `_DIRECTORY` and `_FILENAME` tags.  
If you want to keep that action I think you should use the `_FILENAME` one.

---

<div class="post-metadata">

### Author: ![Zeltak](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/z/a88e4f/32.png) [@Zeltak](https://community.mp3tag.de/u/Zeltak)
#### Post date: [January 26, 2021, 6:12pm UTC](https://community.mp3tag.de/t/struggling-with-the-rename-files-from-tags-get-extra-folders/51728/5 "2021-01-26T18:12:47Z")

</div>

thx @Rigido , that seems to have done the trick 🙂

---

<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 25, 2021, 6:13pm UTC](https://community.mp3tag.de/t/struggling-with-the-rename-files-from-tags-get-extra-folders/51728/6 "2021-02-25T18:13:15Z")

</div>

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