# Clean up folders and fix tag filename problem + cue

**URL:** https://community.mp3tag.de/t/clean-up-folders-and-fix-tag-filename-problem-cue/11408
**Category:** Support
**Created:** [January 8, 2011, 5:15pm UTC](https://community.mp3tag.de/t/clean-up-folders-and-fix-tag-filename-problem-cue/11408 "2011-01-08T17:15:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sept2010](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/edb3f5/32.png) [@sept2010](https://community.mp3tag.de/u/sept2010)
#### Post date: [January 8, 2011, 5:15pm UTC](https://community.mp3tag.de/t/clean-up-folders-and-fix-tag-filename-problem-cue/11408/1 "2011-01-08T17:15:31Z")

</div>

Hi,

## question 1:

Everyone know, after you download a mp3 album you get a lot of files in the folders. sfv, nfo, m3u and sometimes .jpg images and other files.

When I´m finished tagging all my albums I want to remove all files in the folders except "folder.jpg" and recreate a new .sfv and m3u file based on the new tag.

Can mp3tag manage this or do you need to create a seperate batch file ?

## question 2:

When I have a 2CD VA album and the tagging is finished, sometimes I want to rename the filename based on (discnr, tracknr, artist, title).

In this case I have 2 disc album and the track number would for exampel be 1 - 40 totally (Disc 1 / 1 - 20) (Disc 2 / 20 - 40)

Here is my function

**$validate($replace(%discnumber%$num(%track%,2)-$lower(%artist%_-_%title%), ,_),_)**

When i autotag this with my function the result will be

101-artist-track.mp3  
..  
120-artist-track.mp3  
221-artist-track.mp3  
222-artist-track.mp3

It should be:

101-artist-track.mp3  
..  
120-artist-track.mp3  
201-artist-track.mp3  
202-artist-track.mp3

I don´t how to fix this, for now I´m reseting the track counter manually on disc 2 track to 1 - 20, run my filename function, and then manually reset it to 20 - 40.

Really pain in the ass 🙂

## question 3:

For now I´m using foobar to split mp3 albums to single tracks with .cue files. Can mp3tag do the same job ?

I prefer single tracks, beacuse some of my mp3 players can´t handle .cue ...for examle my Ipod.

How are the rest of you working with albums containing .cue files ?

Regards  
Magnus

---

<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/clean-up-folders-and-fix-tag-filename-problem-cue/11408/2 "2026-02-09T12:22:48Z")

</div>


