Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-12-2009, 05:07 AM
Trained Alumni
 
Posts: 336
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
Reply With Quote
  #2 (permalink)  
Old 10-13-2009, 01:27 AM
Elite Member
 
Posts: 296
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.
Reply With Quote
  #3 (permalink)  
Old 10-13-2009, 01:48 AM
Trained Alumni
 
Posts: 336
Default

will give a try, thank you very much
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it
Reply With Quote
  #4 (permalink)  
Old 02-23-2010, 09:14 AM
Active Member
 
Posts: 40
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.