Over a million developers have joined DZone.

Open The Current Ruby On Rails Directory In TextMate Without Tmp, Log And Cache

ls -1 | egrep -vi "(log|tmp|cache)" | xargs mate
Instead of typing this everytime an alias would be handy. Put this

alias railsmate='ls -1 | egrep -vi "(log|tmp|cache)" | xargs mate'
in your ~/.profile or wherever you put your aliases.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}