Saturday, July 25, 2009

Delete files older than x days on Linux

# find /app/logs -type f -mtime +10 -exec rm {} \;