DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Cancellazione Dei File Di Log Più Vecchi Di 7 Giorni

  • submit to reddit
        // Cancellazione dei file di log più vecchi di 7 giorni

// Cleanup archive logs more than 7 days old
find /LOG -name \*.log -type f -mtime +7 -exec rm {} \;