Be Present Now

Sometimes witty, sometimes childish. Add gesticulation, shake.

One line search and replace in a folder (OSX)

Beautiful tip to search and replace all occurrences of a string in a given folder.

I had to change it slightly to make it work under OSX so here it is for future reference:

find . -type f -exec sed -i -e 's/Old/New/g' {} \\;

1 October 2008

Sign up to receive my next blog posts via email: