find all files older than 30 days recursively in current directory
find ./ -type f -mtime +30
Variation 1 - find all files older than 30 days that end with .log
find ./ -name "*.log" -type f -mtime +30
Variation 2 - delete all files older than 30 days that end with .log