Hello,
I have a :
bash: {}/common2.inc.php: no such file or directory
Here is the command
find -type d -name include -exec sed "s/toto1/toto2/g" {}/common.inc.php >
{}/common2.inc.php \; -exec mv -f {}/common2.inc.php {}/common.inc.php \;
I dont understand beacause
find -type d -path "*include" -exec echo {} \; -exec echo {} \;
works
the {} pattern is well replaced in the 2nd sample but it seems not in the
other.
Thanks.