15

How can I use Finder's search feature to find all files that do not match a certain criteria?

For instance, all files that don't end in ".txt" in the current folder.

2 Answers 2

23

Just typing the operand NOT before the criteria will do the trick.

So, in this case, typing NOT .txt will show all the files but the ones with the .txt extension.

1
  • 1
    Outstanding! Also to add to this, if your search requirement has more than one word, you need to enclose them in quotes, like Name > Matches > NOT "two words"
    – JVC
    Commented Sep 10, 2016 at 20:23
0

Exclude search results by using the '-' symbol

like this: Name -GMT

Will display filenames that don't include '-GMT'

1
  • 1
    Does not work for me. The operator NOT as answered by @Thecafremo is the one that works.
    – Duck
    Commented Jun 4, 2020 at 12:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .