This programm aims to merge two phonebooks managed by a FritzBox. The phonebooks have to be exported as an XML file. They will then be merged which will drop duplicate entries. Duplicates are determined by phonenumber. Also, if a phonenumber contains spaces, commas, dashes, full stops, brackets slash, backslash, !, ? or $ and the 'removeSpecialCharacters' flag is true it will remove them.
The avaiable function has the signature
- MergeFritzBoxPhoneBooks(book1, book2 *os.File, removeSpecialCharacters bool, outputFilename, phonebookName string)
where
- book1 and book2 are the file descriptors to XML Files in questsion
- removeSpecialCharacters sets if the special characters should be removed
- outputFilename specifies the resulting XML-File name
- phonebookName sets the name of the resulting phonebook