[HELP] How to search text in files.

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
piaono3
Posts: 2
Joined: Sun Jul 17, 2022 3:41 pm

[HELP] How to search text in files.

Post by piaono3 »

I have files *txt, *doc, *pdf... that contains the following text :

"I'm really happy when I saw you.
My address is 123 Bennett Pass"

I want to finds which files contains text : "123 Bennett Pass"

How can I do that?

Thank you!!
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: [HELP] How to search text in files.

Post by void »

Please try the following search:

ext:txt;doc;pdf content:"123 Bennett Pass"



Note: File content is not indexed. Searching file content will be very slow.
For the best performance, combine the content: search with other search filters.

Please try the Advanced Search under the search menu and set the "A word or phrase in the file" field.
For the best performance, set as many fields in the Advanced Search as possible.
piaono3
Posts: 2
Joined: Sun Jul 17, 2022 3:41 pm

Re: [HELP] How to search text in files.

Post by piaono3 »

Thanks for your help. I got it.
ChrisGreaves
Posts: 684
Joined: Wed Jan 05, 2022 9:29 pm

Re: [HELP] How to search text in files.

Post by ChrisGreaves »

void wrote: Mon Jul 18, 2022 12:01 am...Searching file content will be very slow.
You are spoiled rotten by the speed of your own application :D

Code: Select all

ext:txt;doc;pdf content:"Grenville"
This search delivers documents which (sadly) still contain my old street address of 3+ years ago, documents which must be changed.
Sending the search results to a text file that can drive a batch-file conversion process - even a process as simple as using it as a picking list of things-to-do - is blindingly faster than leaving such errors in place and failing to receive mail.

With many thanks,
Chris
Post Reply