Technology Information: Search a Particular Word in Multiple Editable Text Files

Search a Particular Word in Multiple Editable Text Files

I have my own private RapidLeech server which is hosted in Malaysia and it’s very useful whenever I am downloading a file at a very slow speed. I can make use of the server that has a very fast connection to download the file for me and save it to the server and then I will download it from the server. Since the server is located in the same country as I currently am, I am able to achieve maximum download speed. The only thing I have to worry is I have to make sure that my hosting does not run out of the given bandwidth which is 200GB. Once I exceed the bandwidth limit, all websites will be suspended until it reset in the new month.

’ve updated to the latest Rapidleech v42 pr-t2 because the v41 wasn’t working very well. After the upgrade, I am seeing an error message at the footer of the rapidleech page which says “getCpuUsage(): couldn’t access STAT path or STAT file invalid“. I have tried installing RapidLeech on another server and there’s no such error message. It is supposed to display a nice information on server space and CPU load.


That error is not a big deal but I don’t want that error message to show. There are 447 files in RapidLeech archive and I am certainly not going to edit one by one with notepad and search for the getCpuUsage keyword. So I use TextCrawler to automatically help me find a keyword across multiple files
and folders.

TextCrawler is a free tool for searching and replacing over multiple plain text files. It can search for straight text and supports advanced search/replace via regular expressions.


TextCrawler Features:

  • Find and Replace across files
  • Fast searching, even on large files
  • Simple to use interface
  • Flexible search parameters
  • Text Extractor – rip text into a new file
  • Search and replace using Regular Expressions. Create sophisticated searches
  • Regular Expression test tool
  • Regular Expression library – Save your searches
  • Create backup files
  • Highlighted search results
  • Export Results
  • Batch find and replace operations
  • To use TextCrawler search for a word, I first select the folder (Start Location) that I want to search in. Then set the Filename/Filter as *.* so it will try to search all files in that selected folder. At Find, I entered the word getCpuUsage and then clicked the Find button. In less than 3 seconds, TextCrawler is able to let me know which text files contains the word “getCpuUsage” and at which line.

    In another scenario, during software giveaways, there are more than 1000 entries and copying every single email address to a text file to randomly select a winner is tough. So I hacked the Wordpress core file to set it to display 300 comments for an article. Then I saved all the contents to a text file, and use TextCrawler’s Regular Expressions to easily extract all the email addresses.

    [ Download TextCrawler ]

    0 comments:

    Enter your mail address:
    Template by - ADMIN | HiTechvnn Template