
Announcements
Hey,
so i tried many different things now and read through various scripts, but i don't
understand the background mechanics of deleting files older than X days.
I use german power automate, so hopefully i translate the terms right into english.
I want, from a Backup folder delete files that are older than certain days ... 5 or 10 or how many ever.
I think this works with the Odata filter (from what i have seen here) and the Get Files (Properties only) from SharePoint.
Now, i have no clue how odata filters my files but my best guess until yet is this:
Shouldn't this get all files that are created on less than 5 days ago ?
So if today is the 15. October, this goes back to 10. October and deletes all files that are less than 10 . Oct?
So every file form 1. Oct to 9.Oct?
Presuming i started backups at 1. Oct.
As there is no feedback when i create the flow, if this command is right, i wanted to check if it works that way,
before i continue with the delete function.