> On Feb 20, 2023, at 08:53, Salvador Cuñat via subsurface 
> <subsurface@subsurface-divelog.org> wrote:
> 
> If the rest of the import is fine I'd suggest manually editing the divelog 
> file.
> Because of fortunate design choice, the dive log is a plain text file (XML  
> language), thus you will have at least a line for each dive like:
> 
> <divecomputer model='Uwatec Aladin Air Z' diveid='8b97dfaa' date='2022-10-01' 
> time='12:43:24' duration='61:20 min'>
> 
> followed by the dive computer data for the dive. 
> 
> With your preferred text editor just edit the model of the computer to 
> 'Scubapro Galileo Luna' and save the file.  When you load this file again it 
> should display the amended DC name.
> Depending on your text editor this could be done automatically for every 
> wrong entry in a sigle pass, without needing to make the change manually one 
> by one.

Or, before digging into the innards of the XML, you could just right click on 
the dive computer name, select 'rename this dive computer' and do it in the 
UI...

/D

_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to