Chris Gehlker
8/22/2006 6:35:00 PM
On Aug 22, 2006, at 10:30 AM, Phrogz wrote:
> The Windows Way might be to use the Find command (Windows-F) and enter
> content type in "A word or phrase in the file". Bleah.
>
> What I do is use my little "findfile" ruby script (code below) from
> the
> command line. It's sort of like a grep utility that allows you to use
> regexps as a filter for file names, and as a content searcher. For
> example
>
> C:\Documents and Settings\gavin.kistner\Desktop>findfile rbw?$ "def
> \S+awl"
> ./ReArchive/Archive/dircrawl.rb
> def self.crawl ( path, level=0 )
>
> Found 1 file (out of 7510) in 2.765 seconds
>
Thanks Phrogz, I'll pass it on right now.
--
Conscience is thoroughly well-bred and soon leaves off talking to
those who do not wish to hear it.
-Samuel Butler, writer (1835-1902)