Searching in the contents of files using list of keywords stored in external file

Discussion related to "Everything" 1.5.
Post Reply
mandelbrot
Posts: 2
Joined: Wed Jan 29, 2025 9:28 pm

Searching in the contents of files using list of keywords stored in external file

Post by mandelbrot »

Hi all

In standard "content search" situation --> content:<keyword_1 | keyword2 | keyword3>

But i have a long list of keyword , so :
Is it possible to automatic import/ include keywords stored in external file ?

Thanks in advance for any suggestion
therube
Posts: 5723
Joined: Thu Sep 03, 2009 6:48 pm

Re: Searching in the contents of files using list of keywords stored in external file

Post by therube »

<keyword_1 | keyword2 | keyword3>
Are you wanting AND or OR?

If you have a list of "keywords", each word on a separate line, you can simply copy & paste those into Everything's searchbar & they will be AND'd (including automatically including the < > chars).

Code: Select all

keyword_1
keyword_2
keyword_3
keyword_4
keyword_5
keyword_6
keyword_7
ext:TXT size:<256 content:<keyword_1 keyword_2 keyword_3 keyword_4 keyword_5 keyword_6 keyword_7>
tuska
Posts: 1382
Joined: Thu Jul 13, 2017 9:14 am

Re: Searching in the contents of files using list of keywords stored in external file

Post by tuska »

therube wrote: Thu Jan 30, 2025 5:58 pm
<keyword_1 | keyword2 | keyword3>
If you have a list of "keywords", each word on a separate line, you can simply copy & paste those into Everything's searchbar
& they will be OR'ed ... (OR = Default setting) ...:
Everything Options - 1.5.0.1391a (x64) > Advanced > paste_new_line_op > Value for paste_new_line_op: OR

Code: Select all

keyword_1
keyword_2
keyword_3
keyword_4
keyword_5
keyword_6
keyword_7
<keyword_1|keyword_2|keyword_3|keyword_4|keyword_5|keyword_6|keyword_7>


Add further parameters to this code at the front, e.g. such as...
ext:TXT content:<keyword_1|keyword_2|keyword_3|keyword_4|keyword_5|keyword_6|keyword_7>
mandelbrot
Posts: 2
Joined: Wed Jan 29, 2025 9:28 pm

Re: Searching in the contents of files using list of keywords stored in external file

Post by mandelbrot »

Thanks for your suggestion !

Just another question :

Suppose pdf and word/excel compressed in 7z files :

ext:doc | docx | txt | pdf | 7z "C:\Temp\\" content:<keyword_1 | keyword_2>

Does everything search "keywords" inside compressed 7z files ?

Thanks in advance for any tips
tuska
Posts: 1382
Joined: Thu Jul 13, 2017 9:14 am

Re: Searching in the contents of files using list of keywords stored in external file

Post by tuska »

mandelbrot wrote: Fri Jan 31, 2025 1:52 pm Does everything search "keywords" inside compressed 7z files ?
No.
Filenames only. (for Everything 1.5)
Post Reply