locate rpmnew| xargs rm :) Donncha. On Wednesday 21 August 2002 12:36, adam wrote: > Here's a silly one: How do I pipe the output of locate into rm? It thought > this would work, but no: > > [root at johnhoop web]# locate rpmnew | rm > rm: too few arguments > > [ Gods, I feel like I'm starting all over again! ] >