Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing computer list with dscl




On 15 May 2008, at 5:04am, David Garrett wrote:

I'd like to be able to feed a bash script a text file with the name or MAC addresses of a list of computers, and have the script call dscl and change which computer list each computer is in. Specifically I want to remove each computer from the Graphics computer list and add it to the GraphicsExams list.

Is this a one-time thing or are you going to have to move these computers between lists often ? Because there's nothing to stop you putting these computers in a list of their own.


Simon
--
Simon Slavin                               Fylde Building Room C11
Computing Development Officer              01524 65201 x 93569
Psychology Department
University of Lancaster


_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >changing computer list with dscl (From: David Garrett <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.