Remove Rails logs
Clean your disk by removing Rails logs:
find /Users -type f -iwholename "*log/test.log" -o -iwholename "*log/production.log" -o -iwholename "*log/development.log" | xargs rm -f
Works on OSX, should work on Linux.
You can change /
by the path of your workspace.
Written by Damian Le Nouaille
Related protips
1 Response
thanks!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#