Content searching in binary files

Discussion related to "Everything" 1.5.
Post Reply
vuslx
Posts: 24
Joined: Tue Mar 08, 2022 6:50 am

Content searching in binary files

Post by vuslx »

I have some files that actually contain plain text, but I had to rename their extensions from .txt to .exe for specific reasons. Now I want to search within the content of these files, but content search doesn't work because of the .exe extension. Is there a way to enable content search for files with a custom extension?
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: Content searching in binary files

Post by void »

Are you indexing content?
-If so, you will only be able to search the indexed content. (can be done with the from-disk: modifier)



Everything should perform a binary search on the exe file to find your text by default.

Everything 1.5 has a text-plain-content: search function.

text-plain-content: will treat the content as text/plain.

For example:
*.exe text-plain-content:"foo bar"
vuslx
Posts: 24
Joined: Tue Mar 08, 2022 6:50 am

Re: Content searching in binary files

Post by vuslx »

void wrote: Wed Apr 16, 2025 12:33 am Are you indexing content?
-If so, you will only be able to search the indexed content.



Everything should perform a binary search on the exe file to find your text by default.

Everything 1.5 has a text-plain-content: search function.

text-plain-content: will treat the content as text/plain.

For example:
*.exe text-plain-content:"foo bar"
thanks text-plain-content works.
Post Reply