Sun Java System Calendar Server 6 2005Q4 Administration Guide

csexport

The csexport utility exports a calendar to a file in iCalendar (.ics) or XML (.xml) format. Commands are:

Requirements

Syntax


csexport [-v|-q] 
         -c calid 
         calendar outputfile

The following table describes the commands available for the csexport utility.

Table D–18 csexport Utility Commands

Command  

Description  

calendar outputfile

Export the calendar to the specified output file. The data format of the file is determined by the specified filename extension: 

  • .ics for iCalendar (text/calendar)

  • .xml for XML (text/xml)

version

Display the version of the utility. 

The following table describes the csexport utility command options.

Table D–19 csexport Utility Command Options

Option  

Description 

-v

Run in verbose mode: Display all available information about the command being performed. Default is off. 

-q

Run in quiet mode: 

  • Display no information if the operation is successful (errors, if they occur, are displayed).

  • Suppress confirmation prompting for dangerous commands.

    Default is off.

-c calid

The calendar ID of the calendar to export. This option is required with the calendar command. There is no default. 

Examples