Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch with several improvements #7

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Conversation

sdbbs
Copy link

@sdbbs sdbbs commented Mar 21, 2024

Hi,

Thanks for starting this script! I know this repo is unmaintained, but I'm making this PR mostly just for awareness to this branch, which helped me merge contacts from multiple phonebook.ib files from both Nokia 3310 3G and Nokia 220 4G, identify duplicates, and exported a .vcf file that Nokia 215 4G could accept.

Though if you feel like it, you're more than welcome to merge :)

Thanks again!

sdbbs added 17 commits March 20, 2024 23:44
…tional argument; if there is no outfile, the header of .ib file is hexdumped for all infiles
…IbFileData objects; added --hexdump and --print-analysis printout options
…ccount; now for some phonebooks, header declared number of entries matches number of parsed entries
…e 16-byte ones, phone also not parsed correctly, however name is
…rsed in full (apart from those 16 bytes in size)
…(and there is no need for a "second pass"); also changes in the verbose printouts, so they are easier to control in this case
…ate it (which is not quite right) in parse_file_entries()
… merged_ipb_entries populating seems to work now
…is pass and report is done regardless; added --outjson which writes out .json file
…output; sort of merged_ipb_entries.sort case insensitive; removal of items with empty name/phone fields; and warnings for duplicate names, and duplicate phones, separately
…cate phone numbers now looks up substring (if string length of phone number > 6)
…f the name, and using it in intermediate name - now fewer name duplicates are detected
….vcf --outfile; works with --injson or with regular .ib file parsing
…o match the format accepted by Nokia 215 4G - confirmed it works; program done for now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant