macos 14 如何从所有的时间机器备份中删除一个文件或文件夹

126 天前
 Aurora0

sudo tmutil delete -d /Volumes/TimeMachine -t 2023-12-31-201608 -p /private/var/db

但是 -p 只对 HFS 备份生效,这个命令删除了我的整个备份

man tmutil
delete [-d backup_mount_point -t timestamp] [-p path]
    Deletes the backups with the specified timestamp from the backup volume mounted at the specified mountpoint. The -t option followed by a timestamp can be used multiple
    times to specify multiple backups to delete. For HFS backup disks, a specific path to delete can also be specified using the -p option. This verb can delete items from
    backups that were not made by, or are not claimed by, the current machine. Requires root and Full Disk Access privileges.
760 次点击
所在节点    macOS
3 条回复
MasterCai
126 天前
tm 的文件系统不是 read only 吗?之前试过类似的事情,没成功,应该只能整个删除
Aurora0
126 天前
MasterCai
126 天前
这样啊,我是直接从 finder 打开之后,尝试删除失败的

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1005818

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX