# Saving filters like custom actions

**URL:** https://community.mp3tag.de/t/saving-filters-like-custom-actions/42293
**Category:** Support
**Created:** [July 10, 2018, 10:12pm UTC](https://community.mp3tag.de/t/saving-filters-like-custom-actions/42293 "2018-07-10T22:12:11Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![sheepdisease](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sheepdisease](https://community.mp3tag.de/u/sheepdisease)
#### Post date: [July 10, 2018, 10:12pm UTC](https://community.mp3tag.de/t/saving-filters-like-custom-actions/42293/1 "2018-07-10T22:12:11Z")

</div>

Is it possible to save filters in a similar manner to actions so that they can be easily retrieved within the software/exported for use on other systems?

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [July 11, 2018, 4:24am UTC](https://community.mp3tag.de/t/saving-filters-like-custom-actions/42293/2 "2018-07-11T04:24:41Z")

</div>

No, this is not possible at the moment.  
But you can save them with the whole configuration of MP3Tag and use them in another system.

---

<div class="post-metadata">

### Author: ![sheepdisease](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/d07c76/32.png) [@sheepdisease](https://community.mp3tag.de/u/sheepdisease)
#### Post date: [July 11, 2018, 5:18am UTC](https://community.mp3tag.de/t/saving-filters-like-custom-actions/42293/3 "2018-07-11T05:18:39Z")

</div>

Hello poster, thank you for your reply. Do you know if this is on a to-do list?

In the mean time, I think you are referring to: C:\Users\<user\>\AppData\Roaming\Mp3tag\mp3tag.cfg

It would be good if it were possible to bring up a text editor via an 'advanced' button in the action list and custom filter list (if implemented) when selecting an existing file. It's really annoying trying to find these files manually.

---

<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: [July 11, 2018, 5:24am UTC](https://community.mp3tag.de/t/saving-filters-like-custom-actions/42293/4 "2018-07-11T05:24:00Z")

</div>

> [@sheepdisease](#):
>
> It's really annoying trying to find these files manually.

You can create a Tool (File\>Options\>Tools) that opens the windows explorer with these parameters:  
`'/e,"'$getEnv('MP3TAGAPPDATA')'"'`  
This opens the Windows Explorer in the MP3tag data folder.  
Saving the configuration is performed with the function File\>Save Configuration ...

On filters and them being saved, see e.g. this thread from 2011:

> [@Labels or Descriptions for Filter Expressions](https://community.mp3tag.de/t/labels-or-descriptions-for-filter-expressions/12361/3):
>
> No, currently not. But, as a workaround you could create at a place of convenience in your file system a plain text file into which you copy the filter expression and add an explaining text. In case you need a seldomly used filter expression you could consult your text file and copy&paste it back to the filter entry box in mp3tag.

---

<div class="post-metadata">

### Author: ![Patch](https://community.mp3tag.de/user_avatar/community.mp3tag.de/patch/32/9350_2.png) [@Patch](https://community.mp3tag.de/u/Patch)
#### Post date: [August 27, 2019, 6:44pm UTC](https://community.mp3tag.de/t/saving-filters-like-custom-actions/42293/5 "2019-08-27T18:44:29Z")

</div>

I'm gonna bump this (1 year later) just as a refresher, and maybe stimulate a bit of discussion around it....

This feels like a super useful option. Is this anywhere on the road-map for MP3Tag? Savable filters sounds like a good feature, no?

---

<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: [August 27, 2019, 7:51pm UTC](https://community.mp3tag.de/t/saving-filters-like-custom-actions/42293/6 "2019-08-27T19:51:04Z")

</div>

I think that a filter is used prior to executing actions.  
And to execute an action, you have to select at least 1 file.  
It could well be that a filter leads to no hits - so the actions could not be executed.  
I find the visual feedback whether there are any hits and how many there are quite useful - and then I know whether I want to use an action or not.

You could create a tool that opens the editor and a specific file where you save your filter expressions - and even add a comment so that you can see what the filter does.  
So it is possible even today to save filters, allbeit not with pure MP3tag means.

---

<div class="post-metadata">

### Author: ![Patch](https://community.mp3tag.de/user_avatar/community.mp3tag.de/patch/32/9350_2.png) [@Patch](https://community.mp3tag.de/u/Patch)
#### Post date: [August 27, 2019, 8:03pm UTC](https://community.mp3tag.de/t/saving-filters-like-custom-actions/42293/7 "2019-08-27T20:03:23Z")

</div>

I agree - that's one way to use filters.

If it's a conscious decision not to allow Filters to be saved, that's fine. Maybe it's not possible. I'd love to know why, though. I'd love to be able to save filters as actions. That way, I could save it as part of set of actions (utils).

---

<div class="post-metadata">

### Author: ![ehrlacher](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/5e9695/32.png) [@ehrlacher](https://community.mp3tag.de/u/ehrlacher)
#### Post date: [May 6, 2021, 3:07pm UTC](https://community.mp3tag.de/t/saving-filters-like-custom-actions/42293/8 "2021-05-06T15:07:24Z")

</div>

I just stumbled across this discussion when I was looking for a way to save a filter (eg as/like an action) in this discussion

> [@Removing fields without changing time stamp of unchanged files](https://community.mp3tag.de/t/removing-fields-without-changing-time-stamp-of-unchanged-files/53104/5):
>
> In such a case I suggest to have a look at the action called "Remove fields except" There you can define which tags you want to keep (and therefore delete all other, however they are called). If you want to keep your embedded cover art, don't forget to include PICTURE in your list of tags to keep. Please test such a new action with some of your files to be absolutely sure that you keep ALL your tags wanted. A backup of your data is always recommended.

Maybe in this thread You can see why it could be very helpful/needful to have a filter saved, for it is "not trivial" (NOT ("$regexp($regexp($list(' ~~','~~','=='),'~~(.+?)~~.+?==','$1~~'),'((ALBUM|ALBUMARTIST|ARTIST|COPYRIGHT|COMPOSER|GENRE|LYRICIST|MEDIATYPE|PICTURE|TITLE|TRACK|YEAR)~~)',)" IS "")) but You only need it temporarily to "clean up" Your data - so it is useful to have it stored inside mp3tag itself.

Of course at least 1 file have to be marked - but I see no showstopper in it.  
I would like to heave it saved as an action like "Show only files with xxx (and then the filter string)"

Any ideas?

---

<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/saving-filters-like-custom-actions/42293/9 "2026-02-09T12:27:31Z")

</div>


