# Bug on rename directory

**URL:** https://community.mp3tag.de/t/bug-on-rename-directory/52959
**Category:** Mac
**Tags:** bug-fixed
**Created:** [April 24, 2021, 9:22pm UTC](https://community.mp3tag.de/t/bug-on-rename-directory/52959 "2021-04-24T21:22:57Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Nick0las](https://community.mp3tag.de/user_avatar/community.mp3tag.de/nick0las/32/9247_2.png) [@Nick0las](https://community.mp3tag.de/u/Nick0las)
#### Post date: [April 24, 2021, 9:22pm UTC](https://community.mp3tag.de/t/bug-on-rename-directory/52959/1 "2021-04-24T21:22:57Z")

</div>

Hi,  
When I have an action to rename a directory in an action group, MP3tag report an error:  
"Impossible to move to x from x..."  
I have to create a separate action to rename the folder :-/

 ![image](https://community.mp3tag.de/uploads/default/original/2X/f/f3c3b129ac26c9e747a0a93bd29fbf53f38db31b.jpeg)

Here are the task with all actions:

 ![image](https://community.mp3tag.de/uploads/default/original/2X/7/72adec12460508384dcc6ad69ce37b56e92de9dd.png)

---

<div class="post-metadata">

### Author: ![Nick0las](https://community.mp3tag.de/user_avatar/community.mp3tag.de/nick0las/32/9247_2.png) [@Nick0las](https://community.mp3tag.de/u/Nick0las)
#### Post date: [April 25, 2021, 12:42am UTC](https://community.mp3tag.de/t/bug-on-rename-directory/52959/2 "2021-04-25T00:42:14Z")

</div>

I think there is an issue with the directory management:  
On Mac, merging is more specific than Windows and I think you have to use this specific merging option because if you attempt to move files with an action in the same directory, we have the error: the element already exist and cannot be replaced

---

<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: [April 25, 2021, 9:27am UTC](https://community.mp3tag.de/t/bug-on-rename-directory/52959/3 "2021-04-25T09:27:19Z")

</div>

Thanks for your feedback! I'm not quite sure on how to reproduce it here — if you can create a minimal example, it would be most helpful.

---

<div class="post-metadata">

### Author: ![Nick0las](https://community.mp3tag.de/user_avatar/community.mp3tag.de/nick0las/32/9247_2.png) [@Nick0las](https://community.mp3tag.de/u/Nick0las)
#### Post date: [April 26, 2021, 4:22pm UTC](https://community.mp3tag.de/t/bug-on-rename-directory/52959/4 "2021-04-26T16:22:21Z")

</div>

Sorry if I was not clear ^^'  
For example:  
An album with two discs and this structure:  
folder/cd1  
folder/cd2

I don't use this structure, I prefer the disc number directly in the filename:  
01-01 - artist - title.ext

I used a lot Mp3tag on Windows and when I changed the \_DIRECTORY field, all the files were merged in the same folder.  
In MacOS, merge does not work...

Here are graphical details:

**My original album with two discs structure**

 ![Capture d’écran 2021-04-26 à 18.08.04](https://community.mp3tag.de/uploads/default/original/2X/e/e272e4ab65e455438bf8650afe97fbf20ad60828.jpeg)

**Format tag directory field**

 ![Capture d’écran 2021-04-26 à 18.08.55](https://community.mp3tag.de/uploads/default/original/2X/0/07f43976d90732da90cf5ed8fb4dbf5b24c7cde3.png)

**Error on validate**

 ![Capture d’écran 2021-04-26 à 18.09.04](https://community.mp3tag.de/uploads/default/original/2X/0/04842bda7a1330c229c7800b501a0a58872a5ee8.jpeg)

**At the end, the result on Mac**

 ![Capture d’écran 2021-04-26 à 18.09.40](https://community.mp3tag.de/uploads/default/original/2X/2/221cabad09edaaeab2037e6502288f2c393d7164.png)

In Windows, no problem:

 ![Capture d’écran 2021-04-26 à 18.10.59](https://community.mp3tag.de/uploads/default/original/2X/3/3f66bf82c28be6566a0c5871cd37b45c9e6555bf.png)

 ![Capture d’écran 2021-04-26 à 18.11.32](https://community.mp3tag.de/uploads/default/original/2X/7/715dd48205df11206dc0b2d3d870d2ecce7432dd.png)

![Capture d’écran 2021-04-26 à 18.11.22](https://community.mp3tag.de/uploads/default/original/2X/a/a00856d1257ca5d903b612a72f2079e888095d2d.png)

Thanks for help!

---

<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: [April 27, 2021, 7:46am UTC](https://community.mp3tag.de/t/bug-on-rename-directory/52959/5 "2021-04-27T07:46:27Z")

</div>

Many thanks for the detailled explanation. I've now reproduced the issue and will work on a fix.

---

<div class="post-metadata">

### Author: ![Nick0las](https://community.mp3tag.de/user_avatar/community.mp3tag.de/nick0las/32/9247_2.png) [@Nick0las](https://community.mp3tag.de/u/Nick0las)
#### Post date: [April 27, 2021, 10:22am UTC](https://community.mp3tag.de/t/bug-on-rename-directory/52959/6 "2021-04-27T10:22:56Z")

</div>

Many thanks Florian to be so quick ^^  
I'm user since the 1st release, so it's a long story between Mp3tag and me!!!

---

<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: [April 28, 2021, 6:01am UTC](https://community.mp3tag.de/t/bug-on-rename-directory/52959/7 "2021-04-28T06:01:00Z")

</div>

I've made progress regarding this issue yesterday and have sent you a link to an internal beta version via PM.

Can you try this version and check if it behaves as expected with all your different folder renaming scenarios?

---

<div class="post-metadata">

### Author: ![Nick0las](https://community.mp3tag.de/user_avatar/community.mp3tag.de/nick0las/32/9247_2.png) [@Nick0las](https://community.mp3tag.de/u/Nick0las)
#### Post date: [April 28, 2021, 12:33pm UTC](https://community.mp3tag.de/t/bug-on-rename-directory/52959/8 "2021-04-28T12:33:42Z")

</div>

Yes, this beta version corrects the issue completely!  
Many thanks!!!

---

<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: [April 28, 2021, 2:35pm UTC](https://community.mp3tag.de/t/bug-on-rename-directory/52959/9 "2021-04-28T14:35:36Z")

</div>

Great! Thanks for taking the time to test and confirming the fix. I'll include this officially with the next release.

---

<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: [May 3, 2021, 10:12am UTC](https://community.mp3tag.de/t/bug-on-rename-directory/52959/10 "2021-05-03T10:12:43Z")

</div>

This is now officially fixed with Mp3tag for Mac v1.1.4. Thanks again for reporting and testing!

---

<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: [June 2, 2021, 10:13am UTC](https://community.mp3tag.de/t/bug-on-rename-directory/52959/11 "2021-06-02T10:13:09Z")

</div>

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