Re: how to replace string in files recursively
- From: Huibert Bol <huibert.bol@xxxxxxxxxxx>
- Date: Sun, 02 Nov 2008 11:11:21 +0100
Sidney Lambe wrote:
Erik Hahn <erik_hahn@xxxxxxxxxxxxxxx> wrote:
find /dir -name 'temp?.c' -exec sed -ie 's/temp/TEST/' {} \;
Xargs is much faster.
find /dir -name 'temp?.c' -exec sed -ie 's/temp/TEST/' {} +
is faster even faster.
--
Huibert
"Hey! HEY! Curious cat, here!" -- Krosp I (GG)
.
- References:
- how to replace string in files recursively
- From: J.H.Kim
- Re: how to replace string in files recursively
- From: Unruh
- Re: how to replace string in files recursively
- From: Sidney Lambe
- Re: how to replace string in files recursively
- From: Erik Hahn
- Re: how to replace string in files recursively
- From: Sidney Lambe
- how to replace string in files recursively
- Prev by Date: Re: how to replace string in files recursively
- Next by Date: Re: why cpu MHz in /proc/cpuinfo different from model spec?
- Previous by thread: Re: how to replace string in files recursively
- Next by thread: Re: how to replace string in files recursively
- Index(es):