These commands will replace all instances of ‘foo’ with ‘bar’ in all files in the current working directory and any sub-directories.
Current Directory:
sed -i s/foo/bar/g *
Recursively:
find * -type f -exec sed -i s/foo/bar/g {} \;

providing high impact and highly functional information systems - transforming your data into information and knowledge supporting your business decisions
Current Directory:
sed -i s/foo/bar/g *
Recursively:
find * -type f -exec sed -i s/foo/bar/g {} \;