Jump to content

ElectroFan

Members
  • Posts

    3
  • Joined

  • Last visited

Reputation

0 Neutral

About ElectroFan

Personal Information

  • Occupation
    Mac Technician
  • Location
    Manchester
  • X
  1. Admittedly I'm not great at UNIX but I managed a shell script to remove old user folders stored in a text file. Login as root using "sudo -s" and you password then run the following script by saving as a".sh" file and using chmod 755 to compile and ./ to run. #! /bin/sh while read file; do cd /Userdata/Data/; #SHAREPOINT echo "Deleting" $file "from Server"; rm -rf "$file"; #Will delete the user folder based on user ID in text file echo $file "Deleted from Macserver on "; date; echo "\n"; done < user.txt; # file holding usernames. This isn't the best script but it works fine for our college. If anyone has a better script I'd be more than happy to use i.
  2. Thanks for that the *NIX base is great just the GUI which gets a bit confusing for someone used to AD Management
  3. I'm Daniel, 24 and just started work managing a network of Macs a College and wondering why OS X does some strange things.
×
×
  • Create New...