Differences

This shows you the differences between two versions of the page.


howto:changeprefix [2023/06/07 20:39] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Change record prefixes in a data folder ======
  
 +For introductory information on record prefixes, [[menu:setrecordprefix|click here]].
 +
 +**For versions of RIMMF dated on or before 170614** [[howto:changeprefix2|use these instructions]].
 +
 +Its possible to change all occurrences of a record prefix in a single data folder using the RIMMF utility described here. If you have multiple data folders, and want to change a record prefix in all of them, you will have to repeat the steps below for each data folder.
 +
 +  - Start RIMMF
 +  - Select the data folder you want to change (if not the current one): 
 +    - Go to Tools | Change data folder
 +  - Go to Tools | Admin | Change record prefix (screenshot below)
 +  - Enter the prefix you want to change
 +  - Enter the new prefix (what you want to change it to)
 +  - Press **Run**
 +
 +{{:howto:changeprefixnew.png|}}
 +
 +When the updater is finished, it will display stats on the number of identifiers that were modified, and then RIMMF will rebuild the EI for the data folder (so that it can re-index the new identifiers).
 +
 +**__Notes__**
 +
 +When the utility is first launched, it will insert the current record prefix into the top box. Overwrite that if you want to change a different prefix.
 +
 +If, during the update, the utility detects that a requested change would create a collision((i.e., changing an identifier prefix in a record would create an identifier that already exists in another existing record)), the update will fail. The utility will report a list of the record identifiers in question.
 +
 +Before the utility begins, it makes a copy of the current data folder. The location of this backup is in the 
 +  __history
 +subdirectory of the current data folder.
 +
 +To get a list of prefixes used in a data folder, go to the EI, sort on the **shorturi** column, and note the prefixes that appear. 
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki