How do I delete a folder from every user’s account? More specially how do I delete a folder from every user’s short name home directory that begins with a certain pattern, i.e. 07? I am a little fuzzy on how that would be done.
The problem is that I had to rebuild my server and students are having all sorts of spinning wheels of death with certain applications. So I want do delete each user’s Library folder which seems to cure the problem.
Thanks, but that doesn’t work for me. I want to remove the whole directory “Library” from each users home folder (except the admin). How do I do that? rmdir doesn’t work it says that it is not empty.