# Dry run first: find /var/backups -type f -mtime +30 -print # Then delete: find /var/backups -type f -mtime +30 -delete