How to find and replace strings in multiple files Fri May 24 2013 Basically it’s a classic scenario to use sed, from here: 1234grep "/home/user1" source/_posts/*.markdownsed -i 's/\/home\/user1/\/home\/user2/g' source/_posts/*.markdowngrep "/home/user1" source/_posts/*.markdowngrep "/home/user2" source/_posts/*.markdown