This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes General Computing and the fly likes Find is files utility Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Find is files utility" Watch "Find is files utility" New topic
Author

Find is files utility

Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
I need to search around 300 string in around is 40000 files.

I am looking for tools/script which search given list of string (as txt file) in all files within given folder.


My blood is tested +ve for Java.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
Unix-based operating systems have the grep utility. If you need more features, consider agrep (for which there's a Windows version as well).

If you have more advanced needs -and you want to do this in Java- maybe using Lucene for indexing and searching makes sense.


Ping & DNS - my free Android networking tools app
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Thanks UD! I used FindStr command of windows.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Find is files utility
 
Similar Threads
Searching for a string in a file
managing big data in string
How to do content search in remote server
Passing multiple filenames as argument
Search a directory