Clear the log files of all your rails projects

by Kenneth Kalmer on November 21, 2008

I hit a barrier last night where my virtual machine I use for Rails development ran out of space. I quickly checked around and saw my current Rails project had 800MB in log files (thanks autospec).

So I decided to quickly cook up this little bash script that I run from my top level working directory, and have it clear all the log files, in all my Rails projects.

Hope it helps.

Leave your comment

Required.

Required. Not published.

If you have one.