← 返回命令列表

Linux command

vdirsyncer 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Discover collections from servers

vdirsyncer discover

Synchronize all configured pairs

vdirsyncer sync

Synchronize specific pair

vdirsyncer sync [pair_name]

Repair item storage

vdirsyncer repair [storage_name]

Show version

vdirsyncer --version

说明

vdirsyncer synchronizes calendars (CalDAV) and contacts (CardDAV) between servers and local storage. It downloads remote data to local directories where tools like khal and khard can access and modify them. The tool supports bidirectional sync, meaning local changes sync back to servers. It can also synchronize between two servers directly. Configuration defines storage pairs specifying source and destination. First run requires discover to detect available collections (calendars/addressbooks), then sync downloads the data. Subsequent syncs transfer only changes in both directions.

参数

--verbosity _level_
Set output verbosity (DEBUG, INFO, WARNING, etc.).
--config _file_
Use alternative config file.
--version
Display version.
--help
Display help.

FAQ

What is the vdirsyncer command used for?

vdirsyncer synchronizes calendars (CalDAV) and contacts (CardDAV) between servers and local storage. It downloads remote data to local directories where tools like khal and khard can access and modify them. The tool supports bidirectional sync, meaning local changes sync back to servers. It can also synchronize between two servers directly. Configuration defines storage pairs specifying source and destination. First run requires discover to detect available collections (calendars/addressbooks), then sync downloads the data. Subsequent syncs transfer only changes in both directions.

How do I run a basic vdirsyncer example?

Run `vdirsyncer discover` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --verbosity _level_ do in vdirsyncer?

Set output verbosity (DEBUG, INFO, WARNING, etc.).