# Changing file paths above the parent directory?

**URL:** <https://community.mp3tag.de/t/changing-file-paths-above-the-parent-directory/11634>\
**Category:** Support\
**Created:** [February 25, 2011, 8:14pm UTC](https://community.mp3tag.de/t/changing-file-paths-above-the-parent-directory/11634 "2011-02-25T20:14:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yog-sothoth](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/898d66/32.png) [@yog-sothoth](https://community.mp3tag.de/u/yog-sothoth)\
**Post date:** [February 25, 2011, 8:14pm UTC](https://community.mp3tag.de/t/changing-file-paths-above-the-parent-directory/11634/1 "2011-02-25T20:14:48Z")

</div>

Hi. My directory structure is currently "Genre/Artist - Album (Year)/track - title.ext". I would like to move all album folders of the same artist (including album art, etc.) into one folder, so: Genre/Artist/Album (Year)/track - title.ext. Is there a way to do this with mp3tag?

---

<div class="post-metadata">

**Author:** ![yog-sothoth](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/898d66/32.png) [@yog-sothoth](https://community.mp3tag.de/u/yog-sothoth)\
**Post date:** [February 26, 2011, 1:55pm UTC](https://community.mp3tag.de/t/changing-file-paths-above-the-parent-directory/11634/2 "2011-02-26T13:55:50Z")

</div>

Before I posted, I found [this old thread](http://forums.mp3tag.de/lofiversion/index.php/t10538.html), which is similar but not quite what I'm after. Can't really make sense of it though. Can anyone point me in the right direction? Much appreciated.

---

<div class="post-metadata">

**Author:** ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)\
**Post date:** [February 26, 2011, 2:12pm UTC](https://community.mp3tag.de/t/changing-file-paths-above-the-parent-directory/11634/3 "2011-02-26T14:12:59Z")

</div>

Make a [new action](https://community.mp3tag.de/t/967/1):

_Action type:_ **Format value**  
_Field:_ **\_DIRECTORY**  
_Format string:_ **%artist%\%album% (%year%)**

Do some tests first.

---

<div class="post-metadata">

**Author:** ![yog-sothoth](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/898d66/32.png) [@yog-sothoth](https://community.mp3tag.de/u/yog-sothoth)\
**Post date:** [February 26, 2011, 3:47pm UTC](https://community.mp3tag.de/t/changing-file-paths-above-the-parent-directory/11634/4 "2011-02-26T15:47:26Z")

</div>

Perfect, mate. Thanks so much. This has saved me heaps of time. 😃

---

<div class="post-metadata">

**Author:** ![nusakan](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/n/35a633/32.png) [@nusakan](https://community.mp3tag.de/u/nusakan)\
**Post date:** [April 11, 2011, 3:32pm UTC](https://community.mp3tag.de/t/changing-file-paths-above-the-parent-directory/11634/5 "2011-04-11T15:32:00Z")

</div>

What does one do if they want to just to grab information that is just one up from the parent direcotry.

The %\_parent\_directory% works perfectly for single albums.

c:[ABC]\Album\song.mp3 so %\_parent\_directory% would pull [ABC] and tag it to where you want it to. That's what I want.

The problem I'm having is that I have some albums that are just one more directory deeper.  
c:[ABC]\Album\Disc1\song.mp3

So what ends up happening is %\_parent\_directory% will grab the album but not the [ABC]. How does one grab [ABC] in this directory setup?

The only thing I can think of is probably using folderpath but then I still have to edit them but at least part of that information is still there.

Thanks

---

<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 9, 2026, 12:22pm UTC](https://community.mp3tag.de/t/changing-file-paths-above-the-parent-directory/11634/6 "2026-02-09T12:22:56Z")

</div>


