Donation Goal
Donate Now Goal amount for this year: 799 USD, Received: 100 USD (13%)
Please donate to help support this website. The funds will be used to purchase owned license of LiteSpeed Web Server Enterprise (2-CPU). It provides superior performance in terms of raw speed, scalability and anti-DDoS capabilities.

Search a Particular Word in Multiple Editable Text Files

Posted By Raymond In Category: Computer

Nov
8
2009

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.

I’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.
getCpuUsage(): couldn't access STAT path or STAT file invalid
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.

download textcrawler grep for windows

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 ]


    Related posts:
  • Paste Copied Texts to Word or Rich Text Editor Without Formatting
  • Search Multiple Search Engine At The Same Time
  • Search, Find and Locate Any Files on Local Area Network Shared Folders
  • Disable Files, Folders and Text from Being Copied or Moved in Windows
  • 101 Rapidshare Search Engines to Search, Find and Download Files from RapidShare
    • Finer

      Thanks a lot Ray, will try this one. Earlier I used Notepad++ for this functionality

    • bolin

      Funduc Search and Replace can do it too and MANY similar tools.

    • Tuan Long

      thank raymond

    • hyena

      Great tool, I trained as a Malware Removal expert and finding stuff in huge ComboFix, HJT, whatever logs is so time consuming that it almost drove me crazy.
      I also used Notepad++, WinMerge, plus whatever else comparative text editor I could find.
      If TextCrawler can do what you say, which I’m sure it does, I’m gonna be one happy camper. I have GB’s of notes that I constantly need to backup, then beware of too much duplication, finding KeyWords across a bunch of of text files will be a Godsend.
      Keep up the great work Raymond, you save people a lot of time and hassle, sincere thanks .

    • Tim

      it probably would have been easier to fix the can’t stat problem instead of coding around it. permission issue. but nice find anyhow!

    • http://lunaticg.blogspot.com/ lunaticg

      Thanks Raymond.
      This text crawler will be great for my blog tools. Wish I found it earlier.
      See you around.

    • norman

      this is cool ray!i already installed on my computer and it really works. so i can’t sort out anymore words too much. thanks for having this software.

    • ENOX

      what can you tell about the rapidleech v.42 script where can we find it perhaps you can give us a tut on how make a server as of yours ,nd that would be help full

      enoch

    • Kiran

      Also any text editor should be able to do it..like Textpad, Ultraedit..

    • bl0om

      bro…can u email me hosting that allow or do not check user that install rapidleech in malaysia….really need it…easy to make a payment and fask download to my machine

    • http://www.twitter.com/abhijeetsingh07 Abhijeet Singh

      Hey Raymond,

      Thanks for sharing this information with us. Here is another tools which I used to use as when we do medical transcription we need text search tool a lot. So, the tool I used to use was Examine32 a great tool.
      Do give it a try.

      Please let us know if you are on twitter?
      Please..

      Thanks

    Copyright © 2005-2012 - Raymond.CC Blog