Sun Java System Calendar Server 6.3 管理指南

15.9.1 导入日历数据

要从以前使用 csexport 实用程序保存的文件中导入日历数据,使用 csimport。导入文件的文件扩展名(.ics.xml)表明了文件的保存格式。

例如,可使用以下命令从以 iCalendar (text/calendar MIME) 格式保存的文件 jsmith.ics 中将日历数据导入到日历 ID (calid) 为 jsmithcal@sesta.com 的日历中:

csimport -c jsmithcal@sesta.com calendar jsmith.ics

可使用以下命令从以 XML (text/xml MIME) 格式保存的文件 jsmith.xml 中将数据导入到日历 jsmithcal@sesta.com 中:

csimport -c jsmithcal@sesta.com calendar jsmith.xml