博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
同步主目录
阅读量:2519 次
发布时间:2019-05-11

本文共 982 字,大约阅读时间需要 3 分钟。

Any good tools to synchronize home directories on boxes?

有什么好的工具可以在机器上同步主目录?

Many have several PC/laptops and consequently many home directories. There is home directory synchronizing problem.

许多计算机具有多个PC /笔记本电脑,因此具有许多主目录。 存在主目录同步问题。

unison is a good tool to do this:

统一是执行此操作的好工具:

Useful script:

有用的脚本:

$ unison -batch  -ui text ./ /mnt/homebak/zma/

In text user interface, synchronizing two directories in batch mode (without asking any question).

在文本用户界面中,以批处理方式同步两个目录(不问任何问题)。

Synchronize two home directories over :

通过同步两个主目录:

Under your home directory:

在您的主目录下:

$ unison -batch  -ui text ./ ssh://example.org/

Ignoring some directories:

忽略一些目录:

$ unison -batch -ui text -ignore "Path {.cache,.config/google-chrome}" ./ ssh://example.org/

A more “practical” one with most of common not-to-sync directories:

具有大多数常见的不同步目录的“实用”目录:

$ unison -ui text -batch -ignore "Path {*/.git,*/Cache,.*/Cache,.cache,.config/google-chrome,,.thunderbird/*/ImapMail/}" ./  ssh://example.org/

翻译自:

转载地址:http://ypowd.baihongyu.com/

你可能感兴趣的文章
SAM4E单片机之旅——24、使用DSP库求向量数量积
查看>>
从远程库克隆库
查看>>
codeforces Unusual Product
查看>>
hdu4348 - To the moon 可持久化线段树 区间修改 离线处理
查看>>
正则表达式的搜索和替换
查看>>
个人项目:WC
查看>>
地鼠的困境SSL1333 最大匹配
查看>>
flume+elasticsearch+kibana遇到的坑
查看>>
【MM系列】在SAP里查看数据的方法
查看>>
C#——winform
查看>>
CSS3 transform制作的漂亮的滚动式导航
查看>>
《小强升职记——时间管理故事书》读书笔记
查看>>
Alpha 冲刺(3/10)
查看>>
Kaldi中的Chain模型
查看>>
spring中的ResourceBundleMessageSource使用和测试示例
查看>>
css规范 - bem
查看>>
电梯调度程序的UI设计
查看>>
转自 zera php中extends和implements的区别
查看>>
Array.of使用实例
查看>>
【Luogu】P2498拯救小云公主(spfa)
查看>>