Locate is necessary but not sufficient (was: Re: Desktop search tools for Linux)

Locate is necessary but not sufficient (was: Re: Desktop search tools for Linux)

Tzafrir Cohen tzafrir at cohens.org.il
Sun May 24 21:07:30 IDT 2009


On Sun, May 24, 2009 at 08:52:39PM +0300, Omer Zak wrote:

> The 'locate' command is good for locating files by parts of their names.
> It needs to be complemented by a tool which looks for stuff inside the
> files, and which understands their various formats and encodings.
> 
> For example, how would I search for all E-mail messages and other files,
> which mention you (Ehud Karni) by name?

If you use maildir: grep. If you use mbox: mboxgrep or grepmail.

-- 
Tzafrir Cohen         | tzafrir at jabber.org | VIM is
http://tzafrir.org.il |                    | a Mutt's
tzafrir at cohens.org.il |                    |  best
ICQ# 16849754         |                    | friend



More information about the Linux-il mailing list