Skip to content

deepfind and deepgrep

Saturday, 21 October 2006  |  oever

Do you use find? Of course you do, everybody uses it -- often. It's a nice and quick program for finding files on your disk. A downside to find is that it does not list files embedded in other files like .deb, .rpm, .tar.gz, email attachments, and other files. Now there is a version of find that does exactly this. It's called deepfind.

Do you use grep? Of course you do, everybody uses it -- often. It's a nice and quick program for finding files on your disk that match a particular string. A downside to grep is that it does not search in binary files like OpenOffice files, mp3s, Microsoft office files, pdfs and also not in files embedded in other files like .deb, .rpm, .tar.gz, email attachments, pdf and other files. Now there is a version of grep that does exactly this. It's called deepgrep.

deepgrep and deepfind are command-line tools and have no GUI dependencies (so GNOME fans may also use it ;-). The programs both use JStreams and are part of Strigi. Currently, these programs are located in SVN. They will be in the next Strigi release. For background information on the workings of deepfind and deepgrep and how they relate to Strigi, Tracker and Beagle, check out my aKademy talk.