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

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

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

Post by yaruk » Mon Sep 13, 2010 5:41 pm

Hi,

How would I search for all files that don't end in a certain extension?

therube
Posts: 2352
Joined: Thu Sep 03, 2009 6:48 pm

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

Post by therube » Tue Sep 14, 2010 4:20 am

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