dscl: generating a list of all users and their GUID's
Hi,
I am fixing a nightmare in calendar server. I am having to manually re-add all the .ics files to each users shared calendar through iCal. I want to generate a list of users and their GUID's and I think dscl is the right tool. I don't have great bash skills nor can I get dscl to jump through hoops. I can get individual GUID's for a user ussing
# dscl /LDAPv3/127.0.0.1/ -read /Search/Users/username
but waht I would like to do is generate a list of all the users and their GUIDS
Does anyone know how I can do that?
Thanks!
Xserve, Mac OS X (10.6.8)