I need a script that will delete backups that are older than 2 weeks. This script needs to run automatically or could be set so it could be run manually once a week The below image shows the backup structure. There are multiple files in each of the date named folders though this should not cause any issue (I hope) but if it does then Security permissions can be changed to allow even the guy next door to have Full Control. :sad:
I have been unable to find a script that I can modify for this purpose, if indeed I maintain the mental facilities to even do this.
Thank you, this is appreciated even if you only read the post. :beer:
Any particular language, Chris?
If its PowerShell, this should work, and can be scheduled
Delete folders older than x days:
You must be logged in to reply to this topic.
Create a free account today to participate in forum conversations, comment on posts and more.