We have a /tmp folder that people use for temporary stuff. It can be anything and any file.
We want to make it so that this automatically deletes (or preferably MOVES to another folder on the same shared drive) all the files that haven't been accessed in the last two weeks. This should happen weekly on a schedule that I don't have to manually do.
Is there software out there that does this? Anyone have a script possibly?
Server 2008R2
This Powershell script will move the files older than 2 weeks.