设置为遵循 Unison 推荐的操作
Setting to follow Unison's recommended action
我使用 unison 在笔记本电脑和台式机之间同步几个目录。每当一个系统上有新文件时,我必须逐一确认:
<--- new file c [f]
我已经搜索过 docs,但我似乎无法找到可以自动接受 unison 推荐的设置。有吗?
是的,选项 -auto
正是您要找的。来自文档:
auto
When set to true, this flag causes the user interface to skip asking for confirmations on non-conflicting changes. (More precisely, when the user interface is done setting the propagation direction for one entry and is about to move to the next, it will skip over all non-conflicting entries and go directly to the next conflict.)
也感兴趣:
batch
When this is set to true, the user interface will ask no questions at all. Non-conflicting changes will be propagated; conflicts will be skipped.
我使用 unison 在笔记本电脑和台式机之间同步几个目录。每当一个系统上有新文件时,我必须逐一确认:
<--- new file c [f]
我已经搜索过 docs,但我似乎无法找到可以自动接受 unison 推荐的设置。有吗?
是的,选项 -auto
正是您要找的。来自文档:
auto
When set to true, this flag causes the user interface to skip asking for confirmations on non-conflicting changes. (More precisely, when the user interface is done setting the propagation direction for one entry and is about to move to the next, it will skip over all non-conflicting entries and go directly to the next conflict.)
也感兴趣:
batch
When this is set to true, the user interface will ask no questions at all. Non-conflicting changes will be propagated; conflicts will be skipped.