How do I make a script to delete files I specify, from hundreds of different directories? (Or a program that will do it for me)
Posted on 2008-06-12
I'm a systems administrator at a school with over 1000 student accounts. We've had quite a number of kids bringing games and unwanted material into the school, and storing it on their home drives.
What I would like to do is have a utility that scans all these folders at night time looking for files I specify, and delete them. A Batch file or something. I have a large list of files that I know I wan't removed without question (like quake system files, flash games etc) I just need to give them to a program to deal with them.
Can anyone help, or suggest some software that will do this for me?
Kind of like a Virus scanner, but one that allows me to specify what it scans for.