# 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:** 1
**Showing post:** 8

<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?

---

_[View the full topic](https://community.mp3tag.de/t/saving-filters-like-custom-actions/42293)._
