Skip to content

Instantly share code, notes, and snippets.

@serweb-labs
Created May 5, 2016 04:53
Show Gist options
  • Save serweb-labs/9bb9e5876cdc76cd35f4c0e904e00966 to your computer and use it in GitHub Desktop.
Save serweb-labs/9bb9e5876cdc76cd35f4c0e904e00966 to your computer and use it in GitHub Desktop.
clear all logs files recursively

find . -name "*.log" -exec bash -c 'echo "" > {}' ;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment