content: searches for the file contents, but often one is equally interested if the word is also in the path
it would be handy to have 2 variants -
contentn: searches in file name and contents
contentp: searches in full file path and contents
presumably name/path would be tested first
d
content and name/path search
-
therube
- Posts: 5753
- Joined: Thu Sep 03, 2009 6:48 pm
Re: content and name/path search
Something like this:
Maybe not. I think I confused myself...
Or...
(still not sure I'm getting it)
path:humanity Chomsky | C:\out\SALAMANDER\dir content:humanityMaybe not. I think I confused myself...
Or...
<path:humanity Chomsky | C:\out\SALAMANDER\dir> content:humanity(still not sure I'm getting it)
-
void
- Developer
- Posts: 20041
- Joined: Fri Oct 16, 2009 11:31 pm
Re: content and name/path search
It can be done with a bookmark/filter macro.
To create a bookmark macro that searches filenames and content:
To create a bookmark macro that searches filenames and content:
- In Everything, from the Bookmark menu, click Add to bookmarks...
- Change the Name to:
Content and Filename - Change the Search to:
name:<#param:> | content:<#param:> - Change the Macro to:
contentn - Click OK.
- In Everything, from the Bookmark menu, click Add to bookmarks...
- Change the Name to:
Content and Full Path - Change the Search to:
path:<#param:> | content:<#param:> - Change the Macro to:
contentp - Click OK.
contentn:foocontentp:"foo bar"