Tag Archives: linux

find & sed: find and replace on the command line

Since using vim, I sometimes miss the great find and replace that TextMate offers, but fear not: find and sed fill the gap quite nicely: find . -type f -exec sed -i ‘s/search/replace/g’ ‘{}’ \; To make sure your find … Continue reading

Posted in Development, Tools | Tagged , | Leave a comment

Updating the locate database on OSX

locate is a very handy command to find files on the system. It is much faster than find since it keeps a database of all the system files. This database is periodically updated, but if you want to update it … Continue reading

Posted in Development, Tools | Tagged , , | Leave a comment