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: 474
Joined: Sat Nov 12, 2011 11:51 am

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

Post 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.
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

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

Post 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].)
void
Developer
Posts: 16684
Joined: Fri Oct 16, 2009 11:31 pm

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

Post 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.
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

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

Post by therube »

So what, content: works off of IFilters, where all the other (unicode|utf8|ansi)content: ignore that & will search all files?
void
Developer
Posts: 16684
Joined: Fri Oct 16, 2009 11:31 pm

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

Post by void »

Correct.
Post Reply