22. NeoFinder and Text Files
When cataloging text files, NeoFinder can create an excerpt of the file contents for you. Turn this on in the Cataloging Preferences:
NeoFinder, by default, will read only the first
256 characters of the text (see below how to change that).
This excerpt is displayed in the Inspector section, and can be copied to the clipboard from there, or from the Copy section of the context menu for an item.
You can increase that number with a hidden setting (see below), but we suggest great care when doing that, as you don't want to exceed the 4 GB file size limit of one single NeoFinder catalog file (remember that NeoFinder generates one separate file for each disk or folder you catalog!).
Of course, when searching for "Any Text," these text excerpts are processed by NeoFinder, too.
Supported file types are: .doc, .docx, .txt, .rtf, .textClipping, .srt (video subtitles text files), and .nfo.
Open Office text files ('.odt' and '.ott') are supported.
Also, files named "read.me" are recognized as well.
Further, all files of types .url, .webloc, and .mailloc are cataloged completely as well, revealing the web address in the Inspector.
Starting with NeoFinder 6.6, even the textual content of PDF files can be recognised (if the PDF actually contains any, and NeoFinder only reads the text of the first page for performance reasons)
And last, NeoFinder also gets you an excerpt of HTML files now!
Read more than 256 characters from a text file
You can ask NeoFinder to increase that number.
Open Terminal.app (in the Utilities folder of Applications), and paste in this line here. Replace [val] with the numeric value you want. Then hit return.
defaults write de.wfs-apps.neofinder numBytesForTextFiles [val]
Proceed with caution here, as any larger number may increase the catalog files size for a volume too much, hitting the 4 GB border.
With 256, you return to the default and very safe value.