Linux command
mbsync 命令
网络
需要网络或远程资源。
常用示例
Sync all channels
mbsync -a
Sync specific channel
mbsync [channel]
Sync specific group
mbsync [group]
Verbose sync
mbsync -V [channel]
Dry run
mbsync -n [channel]
Create missing mailboxes
mbsync -C [channel]
说明
mbsync (part of isync) synchronizes IMAP mailboxes with local Maildir folders. It provides bidirectional sync with fine-grained control over what gets synchronized, supporting per-mailbox state tracking for reliable resumable transfers. mbsync is commonly used with mu, notmuch, or other local mail tools for offline email access.
参数
- -a, --all
- Sync all channels.
- -l, --list
- List remote mailboxes.
- -C, --create
- Create missing mailboxes.
- -n, --dry-run
- Show what would happen.
- -V, --verbose
- Verbose output.
- -D, --debug
- Debug output.
- -c _file_
- Config file.
FAQ
What is the mbsync command used for?
mbsync (part of isync) synchronizes IMAP mailboxes with local Maildir folders. It provides bidirectional sync with fine-grained control over what gets synchronized, supporting per-mailbox state tracking for reliable resumable transfers. mbsync is commonly used with mu, notmuch, or other local mail tools for offline email access.
How do I run a basic mbsync example?
Run `mbsync -a` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -a, --all do in mbsync?
Sync all channels.