Use the same strategy as you would for references:
First retrieve the notes you want to edit with the getnote command and write the output to a file:
refdbc: getnote -d bar -o foo.xml -t xnote :NID:=4 OR :NCK:=biochemistry1999 |
Now use your favourite XML editor to edit the notes. Keep the citekey and id elements alone, as at least one of them is required to match the dataset with the existing copy in the database.
Finally use the updatenote command to update the reference in the database:
refdbc: updatenote -d bar foo.xml |