Created
August 15, 2012 02:21
-
-
Save tapajos/3355004 to your computer and use it in GitHub Desktop.
trucate logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd $PROJECT_PATH | |
for i in $(find */log/*.log); do | |
echo "" > $i | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the one-liner, @fnando! 7 lines, @tapajos? Really?