Replace a String in Multiple Files

23. juli 2015

I recently had to search a huge amount of files (Magento webshop) and replace an url. I did a search an found this. Credit where credit is due Forked from http://vasir.net/blog/ubuntu/replace_string_in_multiple_files I recently had to replace every occurrence of a certain word / string in a ton of files spanning multiple directories, and this is the quickest way I’ve found to do it. It uses grep to search for a

Read More