Networker

Re: [Networker] Formating of nsradmin output

2004-08-05 15:02:31
Subject: Re: [Networker] Formating of nsradmin output
From: Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Thu, 5 Aug 2004 12:06:20 -0700
> I have multiple entries. I am trying to build a text file to use with
> nsradmin to create groups, clients and schedules.
>
> e.g.
>
> nsradmin -i <filename> -s <server_name>

Exactly.  So why do you want to change the format?  nsradmin should have
no problem reading in the same thing.  It understands that the blank
line separates entries.

It can take the "all in one line format", but since it reads the
"multiple line" format also, I rarely bother modifying it.

If you're creating the same entry on another server, probably all you'd
need would be a script that added 'create' before each entry.

--
Darren Dunham                                           ddunham AT taos DOT com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. >

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>