this post was submitted on 05 Aug 2024
23 points (100.0% liked)

Linux

48287 readers
613 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] gigachad@sh.itjust.works 4 points 3 months ago (1 children)

I'm also interested in this. After moving my contacts 3 times in a vcs in the ladt yeard it is an absolute mess..

[–] Churbleyimyam@lemm.ee 2 points 3 months ago* (last edited 3 months ago) (1 children)

Yeah, after importing contacts back and forth between my android phone and Thunderbird I'm in the same boat. Trying to avoid manually selecting the 400 or so duplicates to delete them... The duplicates aren't visibly listed in my phone's app but when I export a .vcf file from it and open it in Thunderbird or Gnome Contacts they are. I'm surprised that my desktop apps don't have something inbuilt to deal with this.

[–] gigachad@sh.itjust.works 1 points 3 months ago (1 children)

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.

[–] Churbleyimyam@lemm.ee 1 points 3 months 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...