Replace the occurrences of "HOGE" with "MOGA" once per each line of the files from the current directory tree, keeping a backup copy of every touched file
find . -type f -print0 | xargs -0 sed -i.bak -e "s/HOGE/MOGA/"