Find and Open Files - Quick Tip

May 12 2010

Today I updated the password for a mysql user and I wanted an easy way to find and edit all the database.yml files in TextMate for my various rails projects. The following snippet helped to speed up the process.

find ~/Projects/ -name database.yml -type f -print0 | xargs -0 mate

full post with comments

Twitter Updates

Old Posts