# Empty folder

**URL:** https://community.mp3tag.de/t/empty-folder/16778
**Category:** Support
**Created:** [March 30, 2015, 5:08pm UTC](https://community.mp3tag.de/t/empty-folder/16778 "2015-03-30T17:08:05Z")
**Posts on this page:** 4
**Page:** 2

<div class="post-metadata">

### Author: ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)
#### Post date: [May 6, 2015, 8:23am UTC](https://community.mp3tag.de/t/empty-folder/16778/21 "2015-05-06T08:23:26Z")

</div>

> [@DetlevD](#):
>
> [...]  
> Note:  
> Mp3tag is not a "Eier legende Wollmilchsau" (german) or "jack of all trades" (english).  
> Sometimes you have to use other tools beside Mp3tag to reach a specific goal.  
> A good text editor like Notepad++ can help.  
> [...]

Thank you both for the the info; I'm up and running

I by this I mean all I have to do is this:

**1]** Export ARTIST info from all files with this code

```
$filename(txt,utf-16)

$loop(%ARTIST%)$puts(list_all,$get(list_all)', '%ARTIST%)$loopend()

$puts(list_all,$replace($get(list_all)
,' cond. ',', '
,' feat. ',', '
,' interp. ',', '
,' voc. ',', '
,' vs. ',', '
,' & ',', '
,' + ',', '
,' ++ ',', '
,' *2',' '
,' *3',' '
,' *4',' '
,' *5',' '
,' *6',' '
,' *7',' '
,' *8',' '
,' *9',' '
,' *10',' '
,' *11',' '
,' *12',' '
,' *13',' '
,' *14',' '
,' *15',' '
,' ',' '
))

$puts(list_deduped,$regexp($regexp($regexp($get(list_all),'(?:(?<=,)|(?<=\A))\s?([^,]*),(?=.*?(?<=,)\s?\1(?=,|\Z))',,1),'(,\s+)',$char(13)$char(10)),'^[,]+|[,]+$',))

$get(list_deduped)

```

**2]** Open the list in Notepad++

**3]** Use the TextFX plugin as desrcibed in here: [http://stackoverflow.com/questions/3958350...rows-in-notepad](http://stackoverflow.com/questions/3958350/removing-duplicate-rows-in-notepad)

**4]** Scroll down to the bottom of the list to see the number of individual artists

The only problem it is my third TXT editor that I have to use [for different very specific purposes]; and of course the fact that procedure is finished outside of Mp3tag. But better this than having empty folders or puting markers in them. And also, as I will use it only a few times in a year, it won't be a drag

---

<div class="post-metadata">

### Author: ![markusof](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/f04885/32.png) [@markusof](https://community.mp3tag.de/u/markusof)
#### Post date: [November 23, 2015, 5:55am UTC](https://community.mp3tag.de/t/empty-folder/16778/22 "2015-11-23T05:55:09Z")

</div>

> [@zerow](#):
>
> Hello
> 
> I would like to know if there is an automatic way to find out all the empty sub-folders via Mp3tag; but only those that have a name that do not appaer in the ARTIST tag of all the files that are stored in some of all of those sub-folders
> 
> Right now I have structure of folders like this:
> 
> D:\Musikk\Band A  
> D:\Musikk\Band BB  
> D:\Musikk\Band CCC  
> D:\Musikk\Band DD DD  
> D:\Musikk\Band Eeeeee  
> D:\Musikk\Band ffffffffffffffff
> 
> And I my have song by artists like:
> 
> Band A  
> Band BB feat. Band CCC  
> Band DD DD & Band A
> 
> But It could be that I no longer have a song by artists:
> 
> Band A feat. Band Eeeeee  
> Band ffffffffffffffff
> 
> And as such the "Band Eeeeee" and "Band ffffffffffffffff" folders should be removed
> 
> So I would need to run some kind of export code that would take every sub-folder [name of artist] from D:\Musikk\ and compare it to all the values of ARTIST tag from all of the files found in D:\Musikk\*, case by case; and write down a list of folders that do not have their counterpart in tags
> 
> Is it doable?

I use Remove Empty Directories, works the best for me, as you can put folders / file filters that consider a folder empty - very powerfull  
google red remove empty  
[http://www.jonasjohn.de/red.htm](http://www.jonasjohn.de/red.htm)

---

<div class="post-metadata">

### Author: ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)
#### Post date: [August 15, 2019, 2:12pm UTC](https://community.mp3tag.de/t/empty-folder/16778/23 "2019-08-15T14:12:55Z")

</div>

> [@Zerow](#):
>
> [...]  
> **3]** Use the TextFX plugin as desrcibed in here: [http://stackoverflow.com/questions/3958350...rows-in-notepad](http://stackoverflow.com/questions/3958350/removing-duplicate-rows-in-notepad)  
> [...]

There have been some changes in Notepad++ leading to problems with its plugins- especially with the TextFX needed for that operation  
` `  
Long story short I have read this whole thread [Notepad++ 7.6 and the plugin TextFX ? | Notepad++ Community](https://notepad-plus-plus.org/community/topic/16629/notepad-7-6-and-the-plugin-textfx) but the solution provided there was not enough. So I started to read another one but stopped almost at the beginning of [TextFX Plugin Completely Missing | Notepad++ Community](https://notepad-plus-plus.org/community/topic/17436/textfx-plugin-completely-missing/5)

Because the author of it writes about the already built in options available in Notepad++ at

**Edit \> Line Operations**  
` `  
It seems that all I need now is to use one of the `Sort Lines` options, followed by `Remove Empty Lines` and `Remove Consecutive Duplicate Lines`. So the problem of TextFX being absent is no longer a point of concern

---

<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:25pm UTC](https://community.mp3tag.de/t/empty-folder/16778/24 "2026-02-09T12:25:37Z")

</div>



[Previous page](https://community.mp3tag.de/t/empty-folder/16778.md?page=1)
