Leeladharan Achar - alias - leelu ~ blogging...hola mi amigos..'s Blog

Posted Dec. 27, 2016   455 views

find and replace in all files in linux

grep -rl $oldstring /path/to/folder | xargs sed -i s@$oldstring@$newstring@g