Excluding items within html header folders from searches

Have a suggestion for "Everything"? Please post it here.
unearthed
Posts: 4
Joined: Sun Jan 08, 2017 6:47 pm

Excluding items within html header folders from searches

Post by unearthed »

In searching for and working with files (mainly .jpg) I want to exclude files that are within html header folders. On my system these folders always end with _files

I’ve tried !"C:\Ni\\_files" and it seems to work (the result has nothing that is within a path terminating in _files) but I do not understand why it works.
Can anyone explain this?
cheers Nigel
void
Developer
Posts: 19899
Joined: Fri Oct 16, 2009 11:31 pm

Re: Excluding items within html header folders from searches

Post by void »

With Everything 1.5,
win\\sys
expands to
**win**\**sys**


! = NOT
"" = escape spaces
** = match any character any number of times.
* = match any character (except \) any number of times.



!"C:\Ni\\_files"


=>

!"**C:\Ni**\**_files**"


=>

!"C:\Ni**\**_files**"

(the ** prefix is removed because the term starts with an absolute path C:)



path_search_type
unearthed
Posts: 4
Joined: Sun Jan 08, 2017 6:47 pm

Re: Excluding items within html header folders from searches

Post by unearthed »

Thanks very much void, both work very well, well they work the same in this instance, with zero errors.
cheers Nigel