Does anyone know how I can merge/deduplicate contacts in a .vcf vcard file?

A nice easy graphical option would be ace but I have some terminal experience if necessary. I’ve tried vcardtools.py but I couldn’t work out how to use it.

Any help would be greatly appreciated,

Thanks!

  • @gigachad
    link
    11 month ago

    I tried to do this manually on my phone, but no chance. The contacts randomly split or merge, then another telegram account pops up, the next contact is protected and therefore cannot be removed but only be hidden. Some contacts are not on DEVICE, so messaging apps cannot access them etc.

    If you find a solution to sanitize vcfs let me know. I guess one day I write all the numbers onto a piece of paper and start from scratch.

    Btw. I’m not sure if this community is the best place for this.

    • @[email protected]OP
      link
      fedilink
      11 month ago

      I think I’ve found a workaround. In the Fossify Contacts app on my phone, in the settings I checked the box marked ‘merge duplicate contacts’. I then used the AOSP Contacts app to export them as a .vcf which I imported into Thunderbird, which is now showing no duplicates. I don’t know why the AOSP app is able to export without duplicates, even though it’s the Fossify app which has the ‘merge duplicate contacts’ option but there you have it…