使用默认访问控制设置(如 ics.conf 文件中的 calstore.calendar.default.acl 所定义)创建一个日历,其日历 ID 为 tchang,主要所有者为 tchang,可视名称为 Public_Calendar:
cscal - o tchang - n Public_Calendar create tchang
修改日历 chang 使所有用户都拥有读写权限,该日历与类别 sports 关联并且由 jsmith@sesta.com 共同所有:
cscal - a "@^a^rw^g" -g sports -y jsmith@sesta.com modify tchang
禁用日历 ID 为 tchang 的日历(不允许用户通过用户界面读取、写入或查找该日历)。
cscal disable tchang
启用日历 ID 为 tchang 的日历(允许用户通过用户界面读取或写入该日历),但不允许重复预订:
cscal -k no enable tchang
列出 tchang 的属性:
cscal list tchang
列出 tchang 的所有属性:
cscal - v list tchang
列出数据库中的所有日历:
cscal list
将日历 ID 为 tchang 的日历重置为默认配置设置:
cscal reset tchang
从日历 ID 为 tchang 的日历中删除一个说明:
cscal -d "" modify tchang
从日历 ID 为 tchang 的日历中删除所有类别:
cscal -g "" modify tchang
从日历 ID 为 tchang 的日历中删除其他所有者:
cscal -y "" modify tchang
从日历数据库中删除 tchang:
cscal delete tchang
从主要所有者为 tchang 的日历数据库中删除所有日历:
cscal -o tchang delete