Page 1 of 1

How does Everything tells what is text file in context search?

Posted: Sun Dec 16, 2018 7:22 am
by vsub
Lets say I want to search for a specific text in files that I know they are text files but the extension is something random...ws\yml and so on
I want to find a text in a folder with many text files with not common extensions.

When I try to search ws files,everything displays nothing.

Re: How does Everything tells what is text file in context search?

Posted: Sun Dec 16, 2018 12:29 pm
by therube
Interesting question.
Wonder if you can't set or change the list of file extensions searched?
(Appears not? Seems what it searches through is based on iFilters [which I'm not getting a good grasp of]?)

I can tell you it does not like .doc.

Code: Select all

"C:\TMP\content search\" content:"this is a te"

Code: Select all

COPYING
lzop.txt
lzop.xyz

Code: Select all

C:\TMP\content search>file_gnuwin32.exe -m C:\BIN\UNIX\magic *   
COPYING;     ASCII English text
COPYING.doc; ASCII English text
lzop.txt;    ASCII English text
lzop.xyz;    ASCII English text
(The C* files & l* files are identical [sets].)

Re: How does Everything tells what is text file in context search?

Posted: Wed Dec 19, 2018 12:17 am
by void
If you know the format of the content, you might like to try utf8content: for UTF-8 content, unicodecontent: for UCS2, ansicontent: for ANSI.

If you don't know the content format, you might like to try:
utf8content:"text to search"|unicodecontent:"text to search"|ansicontent:"text to search"

If the content is just ASCII text, then utf8content: will offer the best performance.

Re: How does Everything tells what is text file in context search?

Posted: Wed Dec 19, 2018 1:44 pm
by therube
So what, content: works off of IFilters, where all the other (unicode|utf8|ansi)content: ignore that & will search all files?

Re: How does Everything tells what is text file in context search?

Posted: Thu Dec 20, 2018 7:06 am
by void
Correct.