Results 1 to 4 of 4

Thread: delete calendar entries from cli

  1. #1
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    554
    Rep Power
    7

    Default delete calendar entries from cli

    hi.

    i messed up with my cell phone, and now I duplicated ALL the appointments of ALL calendars into the main calendar.
    it's a hell.

    is there any CLI way to delete ALL the appointments of a calendar before a date?

    thanks
    maxxer
    YetOpen S.r.l. ~ Your open source partner
    Lecco (LC) - ITALY
    http://www.yetopen.it

  2. #2
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    7

    Default

    never tried to do that before, but have you tried these ??

    zmmailbox -z -m account@domain search -t appointment "before:10/13/08"

    it will get a list for all appointments(Calendar record), something like :

    Code:
    21.  4137  appo   <na>                  xxx project                                    07/31/08 16:32
    22.  3549  appo   <na>                  xxx visit                                          07/14/08 16:27
    23.  3434  appo   <na>                  xxx                           07/10/08 16:21
    24.  3421  appo   <na>                  demo                                    07/09/08 14:46
    25.  3288  appo   <na>                  xxx                                07/04/08 17:38
    and we can take out the ID(that's 3549, 3434, 3421, 3288 in this example), passing to zmmailbox command again:

    zmmailbox -z -m account@domain deleteItem <id>

    not sure if it helps.

  3. #3
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    554
    Rep Power
    7

    Default

    will give a try, thank you very much
    YetOpen S.r.l. ~ Your open source partner
    Lecco (LC) - ITALY
    http://www.yetopen.it

  4. #4
    Join Date
    Nov 2007
    Location
    Zürich, Switzerland
    Posts
    40
    Rep Power
    7

    Default

    Hi maxxer,

    did you find any solution to delete the duplicated calendar entries?
    I messed up my calendar while trying to sync with SyncML (Funambol), all calendar entries are duplicated or more (up to 4 times the same entry).

    Thanks!

    Tobias

Similar Threads

  1. Zimlet: Consuming calendar entries
    By joshm in forum Zimlets
    Replies: 3
    Last Post: 10-18-2012, 06:26 AM
  2. Delete a calendar appointment via SOAP
    By kkuilla in forum Developers
    Replies: 5
    Last Post: 04-28-2010, 03:07 AM
  3. Replies: 0
    Last Post: 08-04-2008, 07:44 AM
  4. [SOLVED] Mass delete calendar entries
    By achow in forum Users
    Replies: 10
    Last Post: 03-05-2008, 02:24 PM
  5. Calendar entries uneditable...
    By Guest6400 in forum Administrators
    Replies: 2
    Last Post: 03-30-2007, 03:57 PM

Posting Permissions

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