Thank you Aigles. Worked perfect. If you can help me tweak this a little further, that would be wonderful.
Keeping the same thing in place ,
( find . -name '*.sh' | xargs perl -p -i'_save' -e 's/mydb1/mydb2/g' )
suppose, in place of mydb1, i want to include a string with slashes -
something like /usr/limo/bin and replace it with /usr/limo9i/bin,
how do i do this ? The reason I am doing this is because there are directory paths included within scripts and I would prefer to provide the whole path so that I don't replace anything that is unintended. Thanks a lot