Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modify networker database offline with nsradmin an ed

Status
Not open for further replies.

falloutsam

Technical User
Dec 11, 2009
3
0
0
FR
Hi,

I want to change the name of all groups.
For example "groupeA_toto" become "groupeA_tata".

I stop networker.
I open networker database : nsradmin -d /nsr/res/nsrdb
I use ed for editing informations.
I want substitute toto with tata.
I can change current line with command :.s/toto/titi/g
But I want change all lines not only the current line, but I can find the correct syntax to do this.
Can you help me please?

Regards
 
You can not do this offline with naradmin as a statement will only work for one line at a time.

But if you know the appropriate resource file, you may use any editor to globally replace the name.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top