> Which is faster for this purpose (if you know), find or grep?

See p. 16 of this presentation:

   http://www.deer-run.com/~hal/Unix_Command-Line_Kung_Fu_(OSBridge).pdf

Surprisingly, "find ... | xargs grep ..." is very slightly faster than
"grep -r ...".  Both of these approaches are significantly faster than
"find ... -exec grep ...".

-- 
Hal Pomeranz, Founder/CEO      Deer Run Associates      [email protected]
   Computer Forensic Investigations, Information Security, Training
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to