# Create CD directories inside main album

**URL:** https://community.mp3tag.de/t/create-cd-directories-inside-main-album/67455
**Category:** Support
**Created:** [February 10, 2025, 2:05pm UTC](https://community.mp3tag.de/t/create-cd-directories-inside-main-album/67455 "2025-02-10T14:05:56Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Croftman](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a6a055/32.png) [@Croftman](https://community.mp3tag.de/u/Croftman)
#### Post date: [February 10, 2025, 2:05pm UTC](https://community.mp3tag.de/t/create-cd-directories-inside-main-album/67455/1 "2025-02-10T14:05:56Z")

</div>

I am trying to create a folder structure inside a multi CD classical album that has flat field disc, track and filename  
Each track is numbered as follows 101,102,103,104,201,202,203,301,302,303,304 etc all the way up to the low hundreds all in the same directory.  
This is very unwieldly for large classical box sets and I like to have each CD in its own directoy CD01, CD02, CD03.....CD65 etc.  
Is there a way to create CD names from the discnumber or tracknumber and move the relevant files into each CD folder.  
Hope that makes sense, have tried a few suggestions from the forum but nothing works

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [February 10, 2025, 2:10pm UTC](https://community.mp3tag.de/t/create-cd-directories-inside-main-album/67455/2 "2025-02-10T14:10:28Z")

</div>

> [@Croftman](#):
>
> have tried a few suggestions from the forum but nothing works

And which were these? It is often much simpler to start off from earlier attempts, regardless how successful they were.

Try Convert\>Tag-Filename  
Format string: `CD$num($div(%track%,100),2)\%_filename%`

---

<div class="post-metadata">

### Author: ![Croftman](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a6a055/32.png) [@Croftman](https://community.mp3tag.de/u/Croftman)
#### Post date: [February 10, 2025, 2:21pm UTC](https://community.mp3tag.de/t/create-cd-directories-inside-main-album/67455/3 "2025-02-10T14:21:38Z")

</div>

Wow that works a treat, wished I new why. But hey that is for another day. Many thanks.

---

<div class="post-metadata">

### Author: ![Croftman](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a6a055/32.png) [@Croftman](https://community.mp3tag.de/u/Croftman)
#### Post date: [February 10, 2025, 2:22pm UTC](https://community.mp3tag.de/t/create-cd-directories-inside-main-album/67455/4 "2025-02-10T14:22:46Z")

</div>

How would I make that into an action

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [February 10, 2025, 2:28pm UTC](https://community.mp3tag.de/t/create-cd-directories-inside-main-album/67455/5 "2025-02-10T14:28:44Z")

</div>

> [@Croftman](#):
>
> that into an action

Try "Format value" for \_FILENAME. Format string stays the same.

---

<div class="post-metadata">

### Author: ![Croftman](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/a6a055/32.png) [@Croftman](https://community.mp3tag.de/u/Croftman)
#### Post date: [February 10, 2025, 3:44pm UTC](https://community.mp3tag.de/t/create-cd-directories-inside-main-album/67455/6 "2025-02-10T15:44:14Z")

</div>

Thanks again, very much appreciate the help

---

<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: [March 12, 2025, 3:44pm UTC](https://community.mp3tag.de/t/create-cd-directories-inside-main-album/67455/7 "2025-03-12T15:44:55Z")

</div>

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