# Generate one export file for each album

**URL:** https://community.mp3tag.de/t/generate-one-export-file-for-each-album/43676
**Category:** Support
**Created:** [November 26, 2018, 12:23am UTC](https://community.mp3tag.de/t/generate-one-export-file-for-each-album/43676 "2018-11-26T00:23:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![hopkins](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/838e76/32.png) [@hopkins](https://community.mp3tag.de/u/hopkins)
#### Post date: [November 26, 2018, 12:23am UTC](https://community.mp3tag.de/t/generate-one-export-file-for-each-album/43676/1 "2018-11-26T00:23:16Z")

</div>

Hi,

I would like to generate one separate export file for each album in my library. An album may contain several discs in different sub directories, and I would like to have the file located in the root directory corresponding to each album. I have roughly 1500 album directories.

Do you know if this is possible, either through Mp3tag directly, or perhaps using an automation tool in windows?

Thanks  
Stephane

---

<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: [November 26, 2018, 5:58am UTC](https://community.mp3tag.de/t/generate-one-export-file-for-each-album/43676/2 "2018-11-26T05:58:29Z")

</div>

see e.g. here:

> [@Export | One file per directory](https://community.mp3tag.de/t/export-one-file-per-directory/5596):
>
> Can anyone help me understand this option? Firstly, it seems redundant. To get it to work, you have to put a varying placeholder in the export filename, and there's no other point putting in such a placeholder, so what's the point in having the checkbox option? Secondly, it seems that it is mis-named - it does not make the number of files per directory one. The number depends on the placeholder(s) in the filename, and can be zero or more than one. Please do correct me, experts! wink

and perhaps some more details:

> [@\[X\] Export: one file per directory no longer works](https://community.mp3tag.de/t/x-export-one-file-per-directory-no-longer-works/16701):
>
> Just upgraded to v2.69 and it appers the 'one file per directory' export no longer works. In the previous version I could go into the root folder of a drive, select several sub folders, then open MP3Tag, select all files there and Ctrl-E for Export. The 'one file per directory' used to write an export file in every directory I opened in MP3Tag, but now ('one file per directory' checked or unchecked) leaves me a single file in the root.

and here:

> [@Export file One per parent directory](https://community.mp3tag.de/t/export-file-one-per-parent-directory/7124):
>
> I have a music library organised //.wma and want to export for all albums a tracklist file /info.htm How do I do this? I tried Export file name: $regexp(%\_folderpath%,'[^\\\\]'\*\\\\$,)info.htm [] Append data [X] One file per directory but this causes each disc to get a separate file that overwrites the previous, and Export file name: $regexp(%\_folderpath%,'[^\\\\]'\*\\\\$,)info.htm [X] Append data [X] One file per directory duplicates the file header and footer upon each disc.

---

<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: [November 26, 2018, 6:09am UTC](https://community.mp3tag.de/t/generate-one-export-file-for-each-album/43676/3 "2018-11-26T06:09:30Z")

</div>

> [@hopkins](#):
>
> An album may contain several discs in different sub directories, and I would like to have the file located in the root directory corresponding to each album.

This is currently not possible. As @ohrenkino pointed out above, it's possible to let Mp3tag create one export file per directory. Your requirements differ a little from that.

---

<div class="post-metadata">

### Author: ![hopkins](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/838e76/32.png) [@hopkins](https://community.mp3tag.de/u/hopkins)
#### Post date: [November 26, 2018, 6:21am UTC](https://community.mp3tag.de/t/generate-one-export-file-for-each-album/43676/4 "2018-11-26T06:21:44Z")

</div>

Thank you for your replies. I will look into using a windows tool to automate this instead.

---

<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:27pm UTC](https://community.mp3tag.de/t/generate-one-export-file-for-each-album/43676/5 "2026-02-09T12:27:47Z")

</div>


