View Full Version : Search for a string of text in multiple .txt files?
khorpulent
09-09-2019, 10:46 AM
Not sure this is exactly a Lich question, but does anyone know how I could go about searching a bunch of different logs (.txt files) for a certain string of text and get a count of how many times that line appears?
Thanks
Stumplicker
09-09-2019, 11:23 AM
notepad++
It's a free application and has a search in files function. It'll tell you how many times the string appears, in what files, and where in those files.
https://notepad-plus-plus.org/download/v7.7.1.html
https://i.imgur.com/bRItmuR.jpg
Enter the text to search for, the folder to look in and let it go.
khorpulent
09-09-2019, 12:53 PM
Much obliged
AnOrdim
09-09-2019, 01:03 PM
Astrogrep for windows works pretty well too:
http://astrogrep.sourceforge.net/
Point it to a folder, give it some parameters and off it goes. It shows a little preview of the string in a window as well. Counts in each file in the top details.
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.