• Post Reply Bookmark Topic Watch Topic
  • New Topic

Find is files utility  RSS feed

 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks UD! I used FindStr command of windows.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!