3

I have a saved search for recently modified files because I wasn't satisfied with the Recents folder in macOS Mojave. Lately it has been getting flooded by .tdb files so I would like to exclude them. Is there a way to do this in a saved Finder search? You can see one thing I tried below which didn't work.

enter image description here

A. Kriegman
  • 131
  • 3

1 Answers1

2

Click the search attribute dropdown:

other search type

Select Other...

Search for raw query and check it:

raw query search attribute

Enter the following as your raw query:

kMDItemDisplayName!='*.tdb'c

raw query for excluding certain file types

Additional reading:

How do I find a file by filename in Mac OSX terminal?

https://apple.stackexchange.com/questions/602/how-can-i-search-a-specific-type-of-file-in-mac

Keyslinger
  • 1,763