View Single Post
  #68 (permalink)  
Old 08-25-2008, 12:21 AM
schemers schemers is offline
Zimbra Employee
 
Posts: 228
Default

Quote:
Originally Posted by Alias Node View Post
Is it possible to run the Zimbra Calendar and Address Book exports from a command line / shell script (rather than having users go into options and do each by hand)?

If so, could someone describe how to do that?
The following should work (IIRC):

Code:
zmprov sm user@domain gru /contacts.csv > somefile.csv
zmprov sm user@domain gru /calendar.ics > somefile.ics
to import back in:
Code:
zmprov sm user@domain.com pru /contacts.csv somefile.csv
zmprov sm user@domain.com pru /calendar.ics somefile.ics
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote