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

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 09-22-2006, 12:59 AM
Loyal Member
 
Posts: 96
Default [SOLVED] Mass delete calendar entries

Hi,

Can zimbra 3.1.3 do mass delete calendar entries?

adrian
Reply With Quote
  #2 (permalink)  
Old 09-22-2006, 08:01 AM
Zimbra Employee
 
Posts: 1,434
Default You can empty the calendar folder...

For a given user, you can send the server a request to empty the Calendar folder. Would that do what you want?
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 11-13-2006, 10:40 PM
Senior Member
 
Posts: 50
Default Great. How?

This sounds great, but is it implemented yet? If so, where can we find directions on how to do this? (Outlook Importer errored out while importing several thousand calendar entries and each retry resulted in multiple duplicates)

Using v 4.0.3
Reply With Quote
  #4 (permalink)  
Old 11-13-2006, 10:55 PM
Zimbra Employee
 
Posts: 228
Default

be *very* careful, as this will delete any items and sub-folders under a directory:

Code:
 /opt/zimbra/bin/zmprov 
prov> sm user1@macpro.local
mailbox: user1@macpro.local, size: 7.39 MB, messages: 296, unread: 242
mbox user1@macpro.local> emptyFolder /contacts
Replace "sm user1@macpro.local" with "sm {account-you-want-to-use}".

You can also do this all on the command line if you want:
Code:
/opt/zimbra/bin/zmprov sm user1@macpro.local emptyFolder /contacts
Again, be very careful!
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #5 (permalink)  
Old 11-14-2006, 08:14 PM
Senior Member
 
Posts: 50
Default And for the main calendar...

So for the main calendar folder that would be:

emptyFolder /calendar

?

Thanks
Reply With Quote
  #6 (permalink)  
Old 11-14-2006, 08:25 PM
Zimbra Employee
 
Posts: 228
Default

Oops, I read that as contacts. Yes, I think that should do it, but I've never tried it with a calendar folder.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #7 (permalink)  
Old 07-02-2007, 07:18 PM
Junior Member
 
Posts: 9
Default

I just tried it as I had a similar issue. Worked perfectly with the calendar.

Ron
Reply With Quote
  #8 (permalink)  
Old 07-14-2007, 08:49 AM
Special Member
 
Posts: 137
Default

and is there a way to wipe only old appointements (those that are 1 year old and more for example ?)
Reply With Quote
  #9 (permalink)  
Old 07-14-2007, 10:48 AM
Zimbra Employee
 
Posts: 1,434
Default zmmailbox scripting

You'd probably have to do a search via zmmailbox, then use zmmailbox to delete the results of the search by ID.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #10 (permalink)  
Old 01-04-2008, 04:18 PM
Loyal Member
 
Posts: 89
Default

Perfect! Just what I was needing for one of my users! Thanks!
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.