Networker

Re: [Networker] How to automate duplicate changes?

2003-02-24 13:54:18
Subject: Re: [Networker] How to automate duplicate changes?
From: "Glassman, Adam" <adam.glassman AT ATTWS DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 24 Feb 2003 10:54:08 -0800
I would do this using nsradmin to edit the clients in vi and do a search
and replace operation:

nsradmin 'type: nsr client; name: client, client, client,...'
This will put you in a vi session (assuming you are using Unix) and you
can then do something like
:%s/storage nodes: old_node/storage nodes: new_node/

If you are using Windows, there must be some equivalent command that
will launch notepad or wordpad and you can do a find and replace.

You might make a backup copy of your nsr.res just in case you make a
mistake.

Adam Glassman
AT&T Wireless
adam.glassman AT attws DOT com


-----Original Message-----
From: George Sinclair [mailto:George.Sinclair AT noaa DOT gov]
Sent: Monday, February 24, 2003 7:29 AM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: [Networker] How to automate duplicate changes?


Hi,

Let's say I wanted to change one of the field values, e.g. storage node,
on every client to a different value. How can I do this without manually
clicking on each client and then changing it? In particular, maybe a
field that can have more than one value. Manually doing this will take
some time. It just seems that if I need to make the same change to
everyone, there would have to be a quicker way.

Thanks.

George Sinclair
George.Sinclair AT noaa DOT gov

--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
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>