find . -type f | xargs perl -pi -e 's/pattern/replacement/g' *
Find every occurence of a string in all files below the current folder:
grep -r 'pattern' *
find . -type f | xargs perl -pi -e 's/pattern/replacement/g' *
Find every occurence of a string in all files below the current folder:
grep -r 'pattern' *