Results 1 to 2 of 2

Thread: Import vCards more than once

  1. #1
    Join Date
    Dec 2006
    Posts
    13
    Rep Power
    8

    Default Import vCards more than once

    Hi,

    I followed the procedure to import vCards into my Zimbra Contacts as described on http://wiki.zimbra.com/index.php?tit...ng_into_Zimbra and that works fine.

    However, since the contacts in Zimbra are not my master copy of the vCards, I'd like to be able to repeat this procedure periodically. Currently when I execute them import for a second time I get duplicates of all contacts, the existing ones are not overwritten.

    Questions:
    - Is it possible to use the REST interface to import vCards and overwrite/update entries that are already present?
    - If the previous is not possible, is it possible to delete all contacts using a command line utility

    (As you may guess, i want to schedule an automated job that periodically takes my master vCard file and updates the contacts in Zimbra).

    Regards,
    Gero

  2. #2
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    12

    Default zmmailbox

    Quote Originally Posted by gero View Post
    Questions:
    - Is it possible to use the REST interface to import vCards and overwrite/update entries that are already present?
    - If the previous is not possible, is it possible to delete all contacts using a command line utility
    There's no way to do this using REST, as we don't maintain unique "contact UIDs". But you should be able to call zmmailbox ef {folder-path} to delete the contents of the folder at {folder-path} and all its subfolders.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Similar Threads

  1. Replies: 1
    Last Post: 07-27-2007, 12:19 PM
  2. Replies: 0
    Last Post: 06-21-2007, 02:33 PM
  3. PST Import Questions
    By soxfan in forum Migration
    Replies: 2
    Last Post: 03-02-2007, 01:22 PM
  4. Please Skip Calendar in Import Wizard
    By ThorGoLucky in forum Migration
    Replies: 3
    Last Post: 02-15-2007, 07:51 PM
  5. import wizard doesn't import recurring events?
    By spot in forum Administrators
    Replies: 0
    Last Post: 12-18-2006, 02:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •