The csexport utility exports a calendar to a file in iCalendar (.ics) or XML (.xml) format. Commands are:
calendar exports a specified calendar.
version displays the version number of the utility currently installed.
You must run the utility locally on the machine where Calendar Server is installed.
Calendar Server can be running or stopped.
You must be logged in as the user and group under which Calendar Server is running (such as icsuser and icsgroup) that was specified during installation, or as root.
csexport [-v|-q] -c calid calendar outputfile |
The following table describes the commands available for the csexport utility.
Table D–18 csexport Utility Commands
The following table describes the csexport utility command options.
Table D–19 csexport Utility Command Options
Export the calendar with the calendar ID tchang in iCalendar (text/calendar) format to a file named tchang.ics:
csexport -c tchang calendar tchang.ics
Exports the calendar with the calendar ID tchang in XML (text/xml) format to a file named tchang.xml:
csexport -c tchang calendar tchang.xml