The calendar command exports or imports data from a defined Calendar provider.
The calendar command currently supports the following syntax:
calendar calendar -list[ configuration] calendar -export[ configuration] calendarProvider[ destinationPath][ -replace] calendar -import[ configuration] sourcePath[ -replace]
Note: Parameters enclosed in brackets [] are optional parameters.
Issuing the command calendar without any parameters lists the currently defined Calendar providers.
Parameter |
Description |
---|---|
-list |
Lists the defined Calendar providers for an iSM configuration. |
configuration (optional) |
An iSM configuration name (for example, base). If not specified, then the current configuration is used. |
calendarProvider |
Name of a defined Calendar provider. |
-export |
Exports the Calendar provider to an XML file. |
destinationPath (optional) |
If specified, this is where the data file is created. If omitted, then the file is created in the following directory: <iSM_Home>/etc/calendar If the destination path contains embedded spaces, then the name the value should be enclosed in quotes. |
-import |
Imports a Calendar provider into the specified configuration. |
sourcePath |
Source path to the Calendar provider, which can be entered using one of the following formats:
|
-replace (optional) |
Replaces the existing data file if the file exists. If the file exists and the -replace command is not specified, then the file will not be overwritten and an error is generated. |