Searching for files that don't end in a certain extension?

General discussion related to "Everything".
Post Reply
yaruk
Posts: 17
Joined: Thu Aug 26, 2010 10:04 pm

Searching for files that don't end in a certain extension?

Post by yaruk »

Hi,

How would I search for all files that don't end in a certain extension?
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: Searching for files that don't end in a certain extension?

Post by therube »

If you had a drive of MP3's (more generally, music) & you wanted to find all files that were not *.mp3:

Code: Select all

!.mp3
The '!' is a NOT operator (I suppose, at least it seemed to work).

You can also combine NOT's:

Code: Select all

!.mp3 !.mid !.m4a
So not mp3, not mid (midi), not m4a.
And it then might find ogg & wma, if you had any.
Post Reply