=================================
As there is no built-in procedure for renaming a profile in OSCAR,
this manual procedure may be used instead:
NOTE!! When editing files as instructed below, Always make a backup copy of
each file before making any changes. Also, ALWAYS use a text editor such
as Notepad or Xed to make the changes. DO NOT use a Word Processor program,
as the file will likely be corrupted and destroyed.
In this example the original profile is named "Alan", and the new name will
be "AlanS9". To use this example, replace "Alan" and "AlanS9" as needed.
1) Close OSCAR if open.
2) Find the OSCAR data structure. In this example, it was found in:
/home/alan/Documents/OSCAR_Data.
In Windows or Mac the path location will be different.
3) Edit the file .../OSCAR_Data/Preferences.xml
Change the line:
<Profile type="QString">Alan</Profile>
to read:
<Profile type="QString">AlanS9</Profile>
Save and close the file.
4) Edit the file .../OSCAR_Data/profiles.xml
Change the line:
<profile path="{home}/Profiles/Alan/Profile.xml" name="Alan"/>
to read:
<profile path="{home}/Profiles/AlanS9/Profile.xml" name="AlanS9"/>
Save and close the file.
Note that this edit may not be required, as there is a comment
in the file that it is not used by Desktop OSCAR.
5) Edit the file .../OSCAR_Data/Profiles/Alan/Profile.xml.
Change the line:
<UserName type="QString">Alan</UserName>
to read:
<UserName type="QString">AlanS9</UserName>
Save and close the file.
6) In .../OSCAR_Data/Profiles, rename the profile directory.
In this case, rename directory "Alan" to "AlanS9".
7) Open OSCAR, check that the renamed profile is appropriately recognized.
All imported data and statistics should appear as expected.
PAPing in NE Ohio, with a pack of Cairn terriers