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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Can you exclude ~/Library except for your iCloud Drive in macOS backups?

2 点作者 amichail3 天前
There seems to be no easy way to do this.

2 条评论

TowerTall3 天前
No, if you exclude a folder its children will also be excluded. You could Exclude everything else in ~&#x2F;Library but that means that you have to maintain a long list of exclusions; any new folder you or macOS adds later will start getting backed up until you exclude it.<p>You can also mark sub‑folders with the &quot;do not backup&quot; xattr<p>xattr -w com.apple.metadata:com_apple_backup_excludeItem com.apple.backupd ~&#x2F;Library&#x2F;Caches (Time Machine picks this up automatically).<p>or you can switch to Carbon Copy Cloner. It allows you to build positive include rules
solardev3 天前
Can you exclude that folder but symlink the subfolder elsewhere and back that up instead?