[LINK] Big patch for big hole in Google Desktop

Craig Sanders cas at taz.net.au
Thu Feb 22 12:01:47 AEDT 2007


On Thu, Feb 22, 2007 at 11:39:48AM +1100, Howard Lowndes wrote:
> I have two excellent tools for searching my PC - "find" and "grep" - who 
> needs more?

locate is useful.  and so is xargs (both are part of gnu findutils).

i use xargs probably several times every day.

e.g. to grep for "WHATEVER" in all files under DIR:

	find DIR -type f -print0 | xargs -0 grep WHATEVER

(the -print0 and -0 options specify null-terminated strings, so you
don't have to worry about space or punctuation characters in filenames).


craig

-- 
craig sanders <cas at taz.net.au>

Currently listening to:  Fractal Glider - Detonator

Cthulhu for President!
	(If you're tired of choosing the lesser of two evils.)



More information about the Link mailing list