You may like to look at
Use Windows PowerShell to search for files | Scripting Blog[
^]. Although it is PowerShell it could be used to create the list that you need.
This script will get you a count of all files more than 30 days old.
$subdir="Z:\logs\computername\username"
$today=Get-Date
$FindDate=$today.adddays(-31)
$num=@(Get-ChildItem -Path $subdir `
-File -Recurse -ErrorAction SilentlyContinue `
| Where-Object { $_.LastWriteTime -LT $FindDate }).Count
Write-Output "$num files found"