# move files to parent folder & rename that folder in one actiongroup

**URL:** https://community.mp3tag.de/t/move-files-to-parent-folder-rename-that-folder-in-one-actiongroup/14685
**Category:** General Discussion
**Created:** [April 30, 2013, 8:05pm UTC](https://community.mp3tag.de/t/move-files-to-parent-folder-rename-that-folder-in-one-actiongroup/14685 "2013-04-30T20:05:21Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![pone](https://community.mp3tag.de/user_avatar/community.mp3tag.de/pone/32/272_2.png) [@pone](https://community.mp3tag.de/u/pone)
#### Post date: [May 1, 2013, 9:04am UTC](https://community.mp3tag.de/t/move-files-to-parent-folder-rename-that-folder-in-one-actiongroup/14685/6 "2013-05-01T09:04:48Z")

</div>

I think you are right. Mp3tag doesn't remove folders. But it can merge two (or more) folders into one folder, thus acctually reduce the number of folders.  
But when I can't rename that folder (ex parent folder) in the same action group.

However, I can reach my goal, if I split it into two action groups:

Begin Action Group **&Ordner Umbenennen#Überordner weglassen (step &1)** 

Action #1  
_Actiontype 5:_ **Format value**  
_Field \_\_\_\_\_\_:_ **FOLDERNAME TEMP**  
_Formatstring:_ **%\_directory%**

 

Action #2  
_Actiontype 5:_ **Format value**  
_Field \_\_\_\_\_\_:_ **\_DIRECTORY**  
_Formatstring:_ **.\</b\>**

 

End Action Group **&Ordner Umbenennen#Überordner weglassen (step &1)** (2 Actions)

Begin Action Group **&Ordner Umbenennen#Überordner weglassen (step &2)** 

Action #1  
_Actiontype 5:_ **Format value**  
_Field \_\_\_\_\_\_:_ **\_DIRECTORY**  
_Formatstring:_ **%FOLDERNAME TEMP%**

 

Action #2  
_Actiontype 9:_ **Remove fields**  
_Fields to remove (semicolon separated):_ **FOLDERNAME TEMP**

 

End Action Group **&Ordner Umbenennen#Überordner weglassen (step &2)** (2 Actions)

My goal was to reach that with one action group and without temporary tag fields. But I think it's not possible

---

_[View the full topic](https://community.mp3tag.de/t/move-files-to-parent-folder-rename-that-folder-in-one-actiongroup/14685)._
