Skip to content

Instantly share code, notes, and snippets.

@saxenap
Created February 16, 2016 16:50
Show Gist options
  • Save saxenap/56fc495a78efacec4bea to your computer and use it in GitHub Desktop.
Save saxenap/56fc495a78efacec4bea to your computer and use it in GitHub Desktop.
find /var/log/ -name "*_log-*" -mtime +1 -exec rm -f {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment