You are missing some Flash content that should appear here! Perhaps your browser cannot display it, or maybe it did not initialize correctly.

Syncronizing your Mac Address Book with Communigate

 

So, I got to wondering if I could 'sync' my address book out of my Communigate system with my MacBook Pro.  A little digging and I found that the Address Book application has an import feature. It is able to handle csv, ldif, and vcard.

I brought up my Communigate web interface and took a look at Pronto. I couldn't find any way to export the data from the address book. So, after some thought, I decided to check the storage structures for Communigate. In the /var/Communigate/Accounts directory, I check inside my account area. There was a Contacts.mbox file.

This file is formated with some mbox header information right on top of standard vcard structure.

So, I just copied the Contacts.mbox file to my laptop and did a little magic. I ran this command:

cat Contacts.mbox | awk '/^BEGIN:/,/^END:/ { print $0 }' > Contacts.vcf

The thing to note here is that the extension should be 'vcf'. You are using the 'awk' program to find just the data that is part of the vcard. It starts with BEGIN: and ends with END:. Anything that matches that, just print the whole line and output all of that to Contacts.vcf.

Once this file had been created, it was a simple matter to start Address Book and select 'File', 'Import', 'vCards' and point the the Contacts.vcf file. It is even kind enough to recognize dups and all for an 'update all' scenerio. So, any changes that happen in Communigate can be sync'd to my OS X Address Book application. 

Overall, this was about 30 minutes from start of looking to finding the parts, writing the 'awk' line, importing the data, and writing this blog. I was hoping for something simple, and I think this is pretty simple. The LDAP format might be something else to look into as Communigate has an LDAP repository, but I don't need bi-directional, and I didn't want to study that hard on a saturday <grin>.

Enjoy

 

Kurt

 
The content of this field is kept private and will not be shown publicly.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • HTML tags will be transformed to conform to HTML standards.

More information about formatting options

 

No teme

Hello from Russia! Can I quote a post in your blog with the link to you?

Feel free, just link back to

Feel free, just link back to us if possible!

thanks for the postdemeAffiday

I think one of your advertisements caused my internet browser to resize, you might want to put that on your blacklist.

Great info.I like all your

Great info.I like all your post.I will keep visiting this blog very often.It is good to see you verbalise from the heart and your clarity on this important subject can be easily observed. Thanks again! Digital Marketing Strategy

Very informative post. I

Very informative post. I found it to be very useful for me. I don't know that the Address Book application has an import feature. It is able to handle csv, ldif, and vcard. Thanks for informing about it.hazardous area monitors

I am really enjoying reading

I am really enjoying reading your well written articles. I think you spend numerous effort and time updating. I have bookmarked it and I am taking a look head to reading new articles.

Appreciated

diabetes cure

I am very enjoyed for this

I am very enjoyed for this blog. Its an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy. I think it may be help all of you. Thanks a lot for enjoying this beauty blog with me. I am appreciating it very much! Looking forward to another great blog. Good luck to the author! all the best!
ascorderm

I must say i loved the way

I must say i loved the way you have created your blog, its simple, neat, easy to navigate and extremely easy on the eyes. Can you tell me which theme or designer did you use.mole removal home remedy

I am glad as their is always

I am glad as their is always some people like you busy making posts like this that actually make a difference. It was nice reading about this. Anyways thanks for the great share..cityville cheat

auto insurance rates

Wow, nice post,there are many person searching about that now they will find enough resources by your post.Thank you for sharing to us.Please one more post about that..

auto insurance rates| online auto insurance |auto insurance quotes comparison| low cost car insurance