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

Incorrect Contact Names #16

Open
Dream-Cypher opened this issue Apr 4, 2022 · 3 comments
Open

Incorrect Contact Names #16

Dream-Cypher opened this issue Apr 4, 2022 · 3 comments

Comments

@Dream-Cypher
Copy link

This may not be a "bug", but rather unexpected behavior.

It seems that when the export is matching the contact names, it is pulling the contact name from my Son's "ScreenTime" permitted contacts list, rather than from my actual Address book. For instance, even though I have my Mother's name entered in my contacts, it uses the name "Grammy" which is only listed in my son's ScreenTime contacts. I verified that I don't have that name linked to the contact at all in my contacts.

Is there a way to make the script prefer a specific Address book?

Thanks!

@cfinke
Copy link
Owner

cfinke commented Apr 4, 2022

It's supposed to check the local contacts database first (~/Library/Application Support/AddressBook/AddressBook-v22.abcddb), and then the ones that I think are synced from iCloud (~/Library/Application Support/AddressBook/Sources/*/AddressBook-v22.abcddb ). Are you familiar enough with SQLite to check those databases first and see which one has the contact name that you'd expect?

@Dream-Cypher
Copy link
Author

As a workaround, I saw in a closed issue, that copying all the icloud contacts to the local database might help, and it did...

I looked at those databases, and found that the one with GUID "5292D01E-B4B7-4666-B716-E565B4F6D99E". had the "incorrect" data.... I'm not sure if that is a GUID is specific to me, or if that is Generic...

The Correct Database appears to be GUID "6E9AB288-7ADF-4999-90BA-83711BC23C15"

@a3rdparty
Copy link

Same issue here. @Dream-Cypher how did you copy the icloud contacts to the local db as a workaround? Thanks

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

No branches or pull requests

3 participants