File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Engineering
»
General Computing
Author
Find is files utility
Chetan Parekh
Ranch Hand
Joined: Sep 16, 2004
Posts: 3636
posted
Oct 30, 2009 01:25:25
0
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: 35237
7
posted
Oct 30, 2009 01:58:09
0
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.
Android apps
–
ImageJ plugins
–
Java web charts
Chetan Parekh
Ranch Hand
Joined: Sep 16, 2004
Posts: 3636
posted
Oct 30, 2009 04:23:01
0
Thanks UD! I used FindStr command of windows.
I agree. Here's the link:
http://zeroturnaround.com/jrebel
subject: Find is files utility
Similar Threads
Passing multiple filenames as argument
managing big data in string
How to do content search in remote server
Search a directory
Searching for a string in a file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter