Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Prune all log files whose modified time is older than 6 days
find /var/log -mindepth 1 -mtime +5 -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment