# Help with ML reorganization

**URL:** https://community.mp3tag.de/t/help-with-ml-reorganization/6472
**Category:** Support
**Created:** [March 18, 2008, 4:22pm UTC](https://community.mp3tag.de/t/help-with-ml-reorganization/6472 "2008-03-18T16:22:18Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [March 18, 2008, 5:28pm UTC](https://community.mp3tag.de/t/help-with-ml-reorganization/6472/2 "2008-03-18T17:28:57Z")

</div>

> [@MarcoakaP](#):
>
> ... Well, all my mp3s are in a big folder and are properly tagged. I would like to put them in a directory structure like this: ...

Your description was helpful, and there are properly tagged files.  
So you may try following actiongroup.

1. Choose a subset of your files to play around with and be aware to loose them.
2. Choose a rootfolder where the new tree of files should be created, write it to action #1.
3. Run the actiongroup (note: modify action #3 for test mode).
4. Check if FILENAME\_NEW contains the filepathes you need.
5. If all looks good, then run the actiongroup (note: modify action #3 for reality mode).
6. Ready.

Begin Actiongroup **TEST**

Action #1  
_Actiontype 5:_ **Format tag field**  
_Field:_ **RF**  
_Formatstring:_ **O:\TEST\ROOTFOLDER** _(choose a rootfolder of your own)_

Action #2  
_Actiontype 5:_ **Format tag field**  
_Field:_ **FILENAME\_NEW**  
_Formatstring:_ **$if(%composer%,%rf%\%composer%\%year%\%\_filename\_ext%,$ifgreater(%totaldisc%,1,%rf%\%albumartist%\%albumtitle%÷'('%year%')'\disc÷%disc%÷of÷%totaldisc%','÷track÷%track%÷of÷%totaltrack%.÷%\_filename\_ext%,%rf%\%albumartist%\%albumtitle%÷'('%year%')'\track÷%track%÷of÷%totaltrack%.÷%\_filename\_ext%))**

Action #3  
_Actiontype 5:_ **Format tag field**  
_Field:_ **\_FILENAME**  
_Formatstring:_ **%\_FILENAME%** _(should change nothing while testing)_

Action #3  
_Actiontype 5:_ **Format tag field**  
_Field:_ **\_FILENAME**  
_Formatstring:_ **%FILENAME\_NEW%** _(create new foldertree and move files)_

Action #4  
_Actiontype 9:_ **Remove fields**  
_Fields to remove (semicolon separated):_ **RF;FILENAME\_NEW**

Note: Replace one special character ÷ with one space character.  
End Actiongroup **TEST** (4 Actions)

Good luck!  
DD.20080318.1928.CET

---

_[View the full topic](https://community.mp3tag.de/t/help-with-ml-reorganization/6472)._
