Last Updated: February 25, 2016
·
763
· ivanacostarubio

Nuke ALL your development.log

Most of us run several rails app. Over time, the development.log can grow and consume to much disk space. Instead of going one by one into the projects and deleting the file, just use this bash script.

<3

#/bin/sh
# This will find any development.log file and remove it


locate development.log | xargs -L1 rm