Let's say I have 10,000 files with the text "apart" in the filename, among a million files. Now I want to search for filenames with the text "part" while ignoring "apart". I don't think I can use the NOT operator as in "!apart" because it would filter out filenames like :
"... apart ... part3 ..."
"... ccpartly ... apartment ..."
And going through all 10,000 files individually would be really undesirable.
So, I would need Everything to ignore (but not exclude) the text "apart". How do I do that?
How can I ignore certain text within filenames?
-
wavingdragon
- Posts: 3
- Joined: Sat Oct 04, 2025 11:28 am
Re: How can I ignore certain text within filenames?
Please try enabling Match Whole Words from the Search menu and searching for
-or-
Prefix your word with
For example:
ww: = match whole words.
part-or-
Prefix your word with
ww:For example:
ww:partww: = match whole words.
Re: How can I ignore certain text within filenames?
Thinking you're just going to have to filter.
Filter out what you're not looking for.
Filter in what you are.
ww:part, might work, but that is very specific, & certainly would not return, "ccpartly".
You're going to have to know your data & work from there.
If "apart" only turns up in the word, "apartment", then you can filter that out.
!apartment or !prefix:apartm (or similar)
that would still find, teaparty (which also contains "apart")
Thinking the closest you're going to get, is to simply search for 'part', then add excludes to filter out what you're not after - best you can?
Filter out what you're not looking for.
Filter in what you are.
ww:part, might work, but that is very specific, & certainly would not return, "ccpartly".
You're going to have to know your data & work from there.
If "apart" only turns up in the word, "apartment", then you can filter that out.
!apartment or !prefix:apartm (or similar)
that would still find, teaparty (which also contains "apart")
Thinking the closest you're going to get, is to simply search for 'part', then add excludes to filter out what you're not after - best you can?