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

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
vsub
Posts: 252
Joined: Sat Nov 12, 2011 11:51 am

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

Post by vsub » Sun Dec 16, 2018 7:22 am

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.

therube
Posts: 2236
Joined: Thu Sep 03, 2009 6:48 pm

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

Post by therube » Sun Dec 16, 2018 12:29 pm

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].)

void
Site Admin
Posts: 4717
Joined: Fri Oct 16, 2009 11:31 pm

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

Post by void » Wed Dec 19, 2018 12:17 am

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.

therube
Posts: 2236
Joined: Thu Sep 03, 2009 6:48 pm

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

Post by therube » Wed Dec 19, 2018 1:44 pm

So what, content: works off of IFilters, where all the other (unicode|utf8|ansi)content: ignore that & will search all files?

void
Site Admin
Posts: 4717
Joined: Fri Oct 16, 2009 11:31 pm

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

Post by void » Thu Dec 20, 2018 7:06 am

Correct.

Post Reply