A script to delete files created by certain owners
here's an interesting one for you :D
Problem: 3 teachers have write access to student home directories in order to "correct" work. Whilst I dont have a problem with that, I dont want them to create files (circumventing student quotas) and clogging up the server. As I cannot stop them from creating files, the next best thing is to routinely delete the files they have created where the shouldnt have done.
Can anyone propose a script that would scan a certain directory on a server(student home drives) and delete any files that are created by specified users
It's for Windows server 2003/2008, so it could be a VB or BAT script I assume??
Thank you please :D