Re: hard drive indexing and realtime searching
On Mon, 21 Feb 2005, Simon Frettloeh wrote:
I think, he's meaning a full-text index (like grepping the files for
text) espescially for pdf and office documents. Not only searching for
filenames. Is that right?
Ah ok. "grep -r" and "strings" to the rescue :) It would probably not be
hard to put together a tool which did the equivalent of a "file" [1] on
each file it found in the regex search and applied the right grep/search
tool.
[1] Done internally of couse. forking() a new copy of file for each file
would be evil. Yes people do this with find.
When I need to do this I use grep -r but I admit this misses pdfs which I
have an increasing amount of information in.
Rob
--
Robert Brockway B.Sc.
Senior Technical Consultant, OpenTrend Solutions Ltd.
Phone: 416-669-3073 Email: rbrockway@opentrend.net http://www.opentrend.net
OpenTrend Solutions: Reliable, secure solutions to real world problems.
Contributing Member of Software in the Public Interest (http://www.spi-inc.org)
Reply to: