Last Updated: February 25, 2016
·
1.287K
· damln

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.

1 Response
Add your response

thanks!

over 1 year ago ·