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 01-04-2011, 04:24 AM
Junior Member
 
Posts: 6
Default [SOLVED] Getting all calendars from an account

Hi guys, I'm currently getting all the account information through this:

su - zimbra -c "zmmailbox -z -m example@domain.com getRestURL /?fmt=tgz" > /tmp/file.tgz

The problem is when an account has more than one calendar. Is there a way to notice whether a file is calendar or not?. It will useful to me just to know the name of all calendars in the account. I'm executing this from a python script, so I can make any operation.

Thanks in advanced!
Reply With Quote
  #2 (permalink)  
Old 01-04-2011, 06:37 AM
Moderator
 
Posts: 1,554
Default

zmmailbox getAllFolders for the account will show all the folders, and there is a type field you can use to identify which are calendar folders.
Reply With Quote
  #3 (permalink)  
Old 01-06-2011, 07:46 AM
Junior Member
 
Posts: 6
Default Solved!

Great, so all the "appo" items will be an appointment type.

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.