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.
Welcome to the Open Sourcery Archives. These are my older blog posts, from days
gone by. I'm keeping them up as part of the historical record. That, and I'm
strangely sentimental about them.
Please keep in mind that things most certainly have changed since these articles
were written, links to external sites might be broken, and general thinking might
have changed.
Regardless of all this, I hope you enjoy your stay!