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.
- 我发现 2015 年 macos 支持删除单个文件夹 https://sspai.com/post/30929
- 不知道目前有没有其他的解决方案