# Export cue sheet by album name

**URL:** https://community.mp3tag.de/t/export-cue-sheet-by-album-name/43541
**Category:** Support
**Created:** [November 12, 2018, 8:11pm UTC](https://community.mp3tag.de/t/export-cue-sheet-by-album-name/43541 "2018-11-12T20:11:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![wallywalters](https://community.mp3tag.de/user_avatar/community.mp3tag.de/wallywalters/32/5730_2.png) [@wallywalters](https://community.mp3tag.de/u/wallywalters)
#### Post date: [November 12, 2018, 8:11pm UTC](https://community.mp3tag.de/t/export-cue-sheet-by-album-name/43541/1 "2018-11-12T20:11:14Z")

</div>

I have a folder with several hundred FLAC tracks ripped from several dozen individual albums. (All tracks are properly tagged.) I can export selected files into individual CUE sheets with Ctrl-E and the following template code:

PERFORMER "%album\_artist%"  
TITLE "%album%"  
$loop(%\_path%)FILE "%\_filename\_ext%" WAVE  
TRACK $num(%\_counter%, 2) AUDIO  
PERFORMER "%artist%"  
TITLE "%title%"  
INDEX 01 00:00:00  
$loopend()

Is there a way, however, to select all the files in the folder at once and export a separate CUE sheet for every single album (i.e., export by "album" tag)?

---

<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 13, 2018, 5:32am UTC](https://community.mp3tag.de/t/export-cue-sheet-by-album-name/43541/2 "2018-11-13T05:32:43Z")

</div>

here is a thread that deals with one export file per folder:

> [@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.

The gist of it being: you have to include a path component and a varying field variable in the filename.

---

<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/export-cue-sheet-by-album-name/43541/3 "2026-02-09T12:27:46Z")

</div>


