What's the difference between these two filter expressions?
file: path:!demo
file: nopath:demo
I saw they return different results, but I don't quite understand the logic.
Thanks.
What's the difference between these two filter expressions?
-
rdbmurfb
- Posts: 2
- Joined: Fri Nov 28, 2025 6:09 pm
-
void
- Developer
- Posts: 19899
- Joined: Fri Oct 16, 2009 11:31 pm
Re: What's the difference between these two filter expressions?
file: == Match files onlyfile: path:!demo
path: == Match full path
! = NOT
Match files only where demo is not in the full path.
nopath: == match name part onlyfile: nopath:demo
Match files only where demo is in the name part.
Please try pathpart: to match the path part only:
file: pathpart:!demoSearch Operators
Search Modifiers
file:
path:
no-path:
path-part:
-
rdbmurfb
- Posts: 2
- Joined: Fri Nov 28, 2025 6:09 pm