linux:merge_vcf

Merge vcf contact files

I wanted to migrate all my contacts from an Exchange server and import them into my google contacts which is synced with my phone.

From Outlook I managed to get 137 vcf file descriping my contacts I wanted to merge into Google contacts. It would be an tedious task to import them one by one.

The answer was to save all the files in the same folder and from shell run the following command

$ cat *.cvf > allContacts.vcf

Thereafter you only need to import “AllContacts.vcf” into Evolution or your mail program.

Caveats The fix didn't handle special characters such as “æøå” very well.