# Batch Move File to Folder Based on mp3 Name Utility?

**URL:** https://community.mp3tag.de/t/batch-move-file-to-folder-based-on-mp3-name-utility/7768
**Category:** Off-Topic
**Created:** [January 15, 2009, 6:17am UTC](https://community.mp3tag.de/t/batch-move-file-to-folder-based-on-mp3-name-utility/7768 "2009-01-15T06:17:56Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![fcastro](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/b3f665/32.png) [@fcastro](https://community.mp3tag.de/u/fcastro)
#### Post date: [January 15, 2009, 6:17am UTC](https://community.mp3tag.de/t/batch-move-file-to-folder-based-on-mp3-name-utility/7768/1 "2009-01-15T06:17:56Z")

</div>

Hi all,

Wondering if anyone out there knew of a program that can batch move files to specific folders based on there names? I would like to drop a bunch of mp3's into such a batch file and have them auto move my mp3's to specific folders.

---

<div class="post-metadata">

### Author: ![otempora](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/o/82dd89/32.png) [@otempora](https://community.mp3tag.de/u/otempora)
#### Post date: [February 7, 2009, 9:17pm UTC](https://community.mp3tag.de/t/batch-move-file-to-folder-based-on-mp3-name-utility/7768/2 "2009-02-07T21:17:45Z")

</div>

[size=1][font=Arial]

> [@fcastro](#):
>
> Wondering if anyone out there knew of a program that can batch move files to specific folders based on there names?...

I've spent the past three weeks trying to find a small freeware program to do this, preferably via Explorer's context menu. No luck there. But Media Monkey (3.0.7.1191, freeware edition) will do it, though it wasn't obvious how. Briefly: First scan the folder for all the MP3s. With the left pane in Library's \> Location tree view, navigate to the folder you want to reorganize. Choose the files you want to move (as is typically done in Explorer). Right click and choose Auto Organize (Ctrl-R). A Destination address bar will appear with your files beneath it, showing New and Old paths. To move them, e.g., to a new "Artist" folder, use this syntax:  
.\<Artist\>\<Artist\>\<Track#\>  
_or subfolder of Album beneath Artist would be  
.\<Artist\>\<Album\>\<Artist\>__\<Track#\>_  
The Configure button helps a lot.  
What I haven't yet found is a way to keep the original filenames. It seems that one has to recreate or rename them. But maybe I'm missing something, and it's a minor nuisance. Anyway, it does work. Moving 3000 files took about 3 minutes.

---

<div class="post-metadata">

### Author: ![fcastro](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/b3f665/32.png) [@fcastro](https://community.mp3tag.de/u/fcastro)
#### Post date: [February 8, 2009, 1:38am UTC](https://community.mp3tag.de/t/batch-move-file-to-folder-based-on-mp3-name-utility/7768/3 "2009-02-08T01:38:36Z")

</div>

o tempora, thanks for sharing this interesting bit of knowledge!

So its possible with media monkey to say move a song called "Akon - Redemption Song" to a folder say called "A"?

---

<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: [February 8, 2009, 8:14am UTC](https://community.mp3tag.de/t/batch-move-file-to-folder-based-on-mp3-name-utility/7768/4 "2009-02-08T08:14:03Z")

</div>

You can also use Mp3tag's converter Tag - Filename for this, e.g., with a format string like

C:\Music$left(%artist%,1)\%artist%-%year%-%album%$num(%track%,2). %title%

---

<div class="post-metadata">

### Author: ![Moonbase](https://community.mp3tag.de/user_avatar/community.mp3tag.de/moonbase/32/207_2.png) [@Moonbase](https://community.mp3tag.de/u/Moonbase)
#### Post date: [February 8, 2009, 4:10pm UTC](https://community.mp3tag.de/t/batch-move-file-to-folder-based-on-mp3-name-utility/7768/5 "2009-02-08T16:10:01Z")

</div>

…which actually works beautifully and you have the additional advantage of _knowing_ that everything in the filename can be reconstructed just from the tags inside 🙂

---

<div class="post-metadata">

### Author: ![fcastro](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/b3f665/32.png) [@fcastro](https://community.mp3tag.de/u/fcastro)
#### Post date: [February 12, 2009, 4:29pm UTC](https://community.mp3tag.de/t/batch-move-file-to-folder-based-on-mp3-name-utility/7768/6 "2009-02-12T16:29:52Z")

</div>

Florian, so mo3tag can actually move the file to a different folder based on naming?? Is there any documentation with examples on how to do these formulas?

---

<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: [February 12, 2009, 6:14pm UTC](https://community.mp3tag.de/t/batch-move-file-to-folder-based-on-mp3-name-utility/7768/7 "2009-02-12T18:14:23Z")

</div>

Yes, sure. Here is the [documentation](https://docs.mp3tag.de/converters/rename-files) of the feature where the last paragraph states:

> [@](#):
>
> You can use the backslash to mark directories in the format string.
> 
> You can use the built-in [Scripting functions.](https://docs.mp3tag.de/scripting)

And as an addition: you can use both absolute and relative file names in the format string.

---

<div class="post-metadata">

### Author: ![cimnine](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/35a633/32.png) [@cimnine](https://community.mp3tag.de/u/cimnine)
#### Post date: [April 20, 2009, 7:11pm UTC](https://community.mp3tag.de/t/batch-move-file-to-folder-based-on-mp3-name-utility/7768/8 "2009-04-20T19:11:27Z")

</div>

This works very well btw. It's even possible to "Undo" this action, if for example some tags were wierd... ~Chris
