AFP548 Changing the world one server at a time.

Terminal Question – HELP!

Home › Forums › OS X Server and Client Discussion › Questions and Answers › Terminal Question – HELP!

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #366373
    Dave Hagan
    Participant

    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.

    #366380
    Dave Hagan
    Participant

    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.

    #366385
    Dave Hagan
    Participant

    Nevermind got it working – albeit “dangerously”

    rm -rf /Users/07*/Library

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.