Inline Search and Replace
By admin
I was going through some old code tonight from college that had my student id(SS #) in it and I wanted to strip out my SS # from it. I run into this situation a lot where I need to do a mass inline search and replace. I hope this command is useful to anyone else
find . -type f -exec sed -i 's/MyIdentity//' {} \;