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

Linux

47368 readers
876 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
[–] [email protected] 2 points 1 month ago

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

Tonto2 is a python 3/Qt graphical app that runs on desktops. It's main purpose is not to manipulate *.vcf files, but the appendix to the instruction pages tells how, anyway. Tonto2 uses a spread-sheet-like presentation paradigm. With appropriate magical mystical spells, you can import *.vcf as *.csv and sort the *.csv by last-name, phone-number, eMail, zip-code, or whatever. It won't de-dup, but you can spot the duplicates easier once they're collated next to one another in one sequence or another. Show just the significant attributes. Probably you'll want to sort, look, sort, and look again. Killing entries is nearly as simple as checking them off. FAIR WARNING: This process is time consuming, frustrating, and fraught with peril. Keep several versions of your address list until you're sure the final is the one you want to keep forever. My experience is that I always find stuff I want to keep in each of all (sometimes more than two) duplicate entries, so deleting the dup's is not what's called for. Merging means manually copying from one entry and pasting into another. Due to the judgemental nature of how to handle conflicting and out-of-date info, I've hesitated to try to automate the process.