我使用 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 - 设置为遵循 Unison 推荐的操作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53488255/