# Selecting only files with given extension

**URL:** https://community.mp3tag.de/t/selecting-only-files-with-given-extension/65327
**Category:** Support
**Created:** [July 19, 2024, 1:18am UTC](https://community.mp3tag.de/t/selecting-only-files-with-given-extension/65327 "2024-07-19T01:18:33Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![chayes](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e0b2c6/32.png) [@chayes](https://community.mp3tag.de/u/chayes)
#### Post date: [July 19, 2024, 1:18am UTC](https://community.mp3tag.de/t/selecting-only-files-with-given-extension/65327/1 "2024-07-19T01:18:33Z")

</div>

Hi All

I'm trying to find a way to only select files in the pane with .mp3 or .wav as their extension. Other files in the pane with different extensions would be left unselected.

Is there a way to do this with some clever code or action?

I'm trying to do this because in some folders I have .mp4 files which I don't want to include in my playlist. An automated way would avoid having to select files manually one-by-one.

Grateful for any advice.

🙂

---

<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 19, 2024, 3:50am UTC](https://community.mp3tag.de/t/selecting-only-files-with-given-extension/65327/2 "2024-07-19T03:50:07Z")

</div>

Have a look at the powerful filter expressions of Mp3Tag:

> **[Filter and Search – Mp3tag Documentation](https://docs.mp3tag.de/filter/)**
>
> Documentation on Filter and Search and keywords to form complex filter expressions. Mp3tag is the universal Tag Editor.

In your case the filter expression would be:  
%\_extension% IS mp3 OR %\_extension% IS wav

---

<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 19, 2024, 6:05am UTC](https://community.mp3tag.de/t/selecting-only-files-with-given-extension/65327/3 "2024-07-19T06:05:23Z")

</div>

> [@chayes](#):
>
> I'm trying to do this because in some folders I have .mp4 files

I would also recommend the filter.  
But you could also sort by the column for the tag which should be different for each file type.  
There is no way to keep the file list untouched and select only some files at a key stroke.

---

<div class="post-metadata">

### Author: ![chayes](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/e0b2c6/32.png) [@chayes](https://community.mp3tag.de/u/chayes)
#### Post date: [July 19, 2024, 2:37pm UTC](https://community.mp3tag.de/t/selecting-only-files-with-given-extension/65327/4 "2024-07-19T14:37:57Z")

</div>

> [@poster](#):
>
> %\_extension% IS mp3 OR %\_extension% IS wav

- Thanks guys - problem solved. I'm not seeing a way to save or recall filters so I guess they would need to be entered each time. Is that right?

---

<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 19, 2024, 2:55pm UTC](https://community.mp3tag.de/t/selecting-only-files-with-given-extension/65327/5 "2024-07-19T14:55:30Z")

</div>

> [@chayes](#):
>
> would need to be entered each time

See the documentation:

> **[Format String Helper Menu – Mp3tag Documentation](https://docs.mp3tag.de/menus/format-strings/#manage-history)**
>
> Helper menu displayed when pressing the ► button next to entry fields where format strings can be entered or selected. Mp3tag is the universal Tag Editor.

---

<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: [August 18, 2024, 2:56pm UTC](https://community.mp3tag.de/t/selecting-only-files-with-given-extension/65327/6 "2024-08-18T14:56:20Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
