@Kurratot ,
Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.
We can do such automation using PowerShell and here is the script which moves all files from the current folder to another folder that are created 7 days back.
$files = Get-ChildItem -File | Where-Object {$_.CreationTime -gt (Get-Date).AddDays(-7)}
foreach ($f in $files){
Move-Item -Path $f -Destination .\Temp\$f
}
Please "Accept as Answer" and Upvote if any of the above helped so that, it can help others in the community looking for remediation for similar issues.