LONDON BASED INTERNET DEVELOPER & CONSULTANT


This is my personal blog site containing a bit of what I do, and some more information about Web development. Thanks for dropping by!


READ MORE ABOUT ME


13

07 2017

Find and replace files on mac

This blog is slowly becoming my cheat sheet. Here is how I find and replace string recursively on directories. Very useful for translating sites, and more. grep -rl kontakt plugins/ | xargs sed -i ‘s/kontakt/contact/g’ Here is the logic: grep -rl oldstring directory/ | xargs sed -i ‘s/oldstring/newstring/g’

15

01 2014

Syncing files

I’m by no means a server specialist, however as a web developer, and probably 80% back end developer, in more than one occasion I’ve been required to deal with server setups, migrations etc. So recently, I’ve started using a really cool command which is nothing new for the Linux folks out there, but for me […]

01

10 2013