Content searcher - txt doc pdf

General discussion related to "Everything".
EchterStahlmann
Posts: 6
Joined: Fri Aug 25, 2017 4:52 pm

Content searcher - txt doc pdf

Postby EchterStahlmann » Fri Aug 25, 2017 5:24 pm

Hello,

Is it possible?
Or what free software can do it? (not the best question for this forum :lol: )

Cheers

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

Re: Content searcher - txt doc pdf

Postby void » Sat Aug 26, 2017 12:30 am

Content searching is possible with Everything 1.4.

Please try the Advanced Search in Everything 1.4 to setup a content search:
    In Everything, from the Search menu, click Advanced Search.
  • Change A word of phrase in the file to the content you would like to find.
  • Combine with other filters for the best performance.
  • For example:
    • change Extensions to: txt;doc;pdf to limit the search to txt, doc and pdf files.
    • Change the first Date modified field to: 1/1/2017 to limit the search to files modified this year.

EchterStahlmann
Posts: 6
Joined: Fri Aug 25, 2017 4:52 pm

Re: Content searcher - txt doc pdf

Postby EchterStahlmann » Sat Aug 26, 2017 12:56 pm

Thanks!
so do you think that comparison is outdated?

Image

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

Re: Content searcher - txt doc pdf

Postby void » Sun Aug 27, 2017 10:47 am

Everything
Find text in documents (PDF/DOC/TXT): Yes
Find all file types: Yes
Search file attributes/properties: attributes:Yes, some properties (image dimensions/id3 tags): Yes
Advanced boolean searches: Yes
Regular expression support: Yes
Maintains separate search index (perforamance hit): No
Instant search: Yes
Preview search results: Yes
Search Virtual folders (non-filesystem): No (coming in Everything 1.5)
Find photos by map location: No
Compare file attributes: No, maybe: attribdupe:
Find documents in deep folders (path>260 characters): Yes

EchterStahlmann
Posts: 6
Joined: Fri Aug 25, 2017 4:52 pm

Re: Content searcher - txt doc pdf

Postby EchterStahlmann » Mon Aug 28, 2017 11:14 am

void wrote:Everything
Find text in documents (PDF/DOC/TXT): Yes
Find all file types: Yes
Search file attributes/properties: attributes:Yes, some properties (image dimensions/id3 tags): Yes
Advanced boolean searches: Yes
Regular expression support: Yes
Maintains separate search index (perforamance hit): No
Instant search: Yes
Preview search results: Yes
Search Virtual folders (non-filesystem): No (coming in Everything 1.5)
Find photos by map location: No
Compare file attributes: No, maybe: attribdupe:
Find documents in deep folders (path>260 characters): Yes



Good for you!
You could put this updated info on your site ;)
Competition can feel fear :P

MikeKaye
Posts: 2
Joined: Sat Jan 13, 2018 12:44 am

Re: Content searcher - txt doc pdf

Postby MikeKaye » Sun Jan 14, 2018 7:02 pm

I would like to search 8-bit ASCII content for specified software source file types. Specifically file types: asm s inc c cpp h hpp java class html. No point in indexing all by default. Users can specify which types to index.

I have a few odd file types such as msa (asm backwards) which I use as prototype files with template substitution.

Searching within doc and docx files would be a plus.

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

Re: Content searcher - txt doc pdf

Postby void » Sun Jan 21, 2018 2:38 am

Please try making a custom filter:
  • In Everything, from the Search menu, click Add to Filter....
  • Change Name to: src
  • Change the search to: ext:asm;s;inc;c;cpp;h;hpp;java;class;html;msa
  • Change macro to: src
  • Click OK.

ext: will search for files with the matching extension.

Now when you search for src: it will instead search for: ext:asm;s;inc;c;cpp;h;hpp;java;class;html;msa

For example, to search the contents of all these files with matching extension for the text SomeFunctionName, search for:
src: content:SomeFunctionName

You could do the same for doc and docx, where there is already a doc: macro which will search for doc and docx files.

combine content: with other search functions for the best performance.
Such as dm:thisyear size:<1MB d:\dev\


Return to “General”