[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] OT Help with file deletion script



I need to purge files out of an old /home server that is only running email now.  I need
a script that will run through every user folder on /home and delete every file/folder
except a folder named "mail" and a folder named ".openwebmail".  I need those two
folders and their contents to remain untouched.  Can anyone help with this?

Of course I'll assume all caveats regarding testing first and not hold anyone
responsible for data loss :-) 

Jim

-- 
This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]