Skip to content


Latest Additions

You are here: Home > Specifications > Technical > Administration Documentation > Deletion of a All of a Contributor's Records

Deletion of a All of a Contributor's Records

If it is necessary to delete all of a Contributor's records, it may be easier to follow these 'mass delete' instructions rather than deleting individual records using the Editor.

All directories and files are under /home/zzieradm/dbs/metadata_src/editor/iesr/

For a Contributor whose 3-letter key is xyz:

  • Move all files Saves/xyz/*.xml to Deletes/xyz/*.xml
  • Move all files Saves/xyz/MetaReg/*.xml to Deletes/xyz/MetaReg/*.xml
  • Delete committed files, ie. xyz/*.xml
  • Update MetaRegistry (ie. xyz/MetaReg/*.xml) by running doupdatemrdel on those files. (Alternatively make these changes manually.) Before doing this it is necessary to update the LEX script (updmrdel.l) to include the current date, and then recompile it [lex updmrdel; set result of yylex to int in lex.yy.c; cc -o updmrdel lex.yy.c -ll]. This makes the following changes to the MetaRegistry files:
    • Set modified date to today
    • Set deleted status
    • Remove relations: hasService; owner; administrator

27 October 2007