Tag: robocopy
Script to delete folder older than 30 days… by Name
- Ben Liebowitz
- 0
- 3584
I had a need, on one of my file servers, to delete some data that was older than 30 days, to clear space. This would need to be a re-occurring task, so what better way to accomplish it than to script it! Here’s the rub… The folders are each in a YYYYMMDD format (ex: 20170115), yet the content in the…
Share This: