TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

How to sync Mac and Linux /home

5 点作者 Kortaggio9 个月前

2 条评论

funcDropShadow9 个月前
This setup eats your freshly created files if you forget to run the rsync command before switching to the other computer. Not so nice. Unison [1] can avoid that problem by having some state on each side. Therefore, it always knows whether a file was just created on machine A or whether it was deleted on machine B.<p>Everything else is almost the same with Unison compared to rsync. There is no P2P overlay network, everything goes through ssh. It uses the rsync algorithm to optimize the transfer of changes. It is run at specific times, not always in the background. Therefore, you know when synchronization is happening and when it is finished. Unison also has rules to map different path on each side and you can exclude by path, filename, and suffix, etc.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;bcpierce00&#x2F;unison">https:&#x2F;&#x2F;github.com&#x2F;bcpierce00&#x2F;unison</a>
pavel_lishin9 个月前
I&#x27;ve got concerns about the --delete - since you&#x27;re copying-with-delete from desktop first, it automatically assumes that anything you put in &#x2F;home&#x2F;me on the mac is going to get blown away.
评论 #41422470 未加载