V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Aurora0
V2EX  ?  macOS

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

  •  
  •   Aurora0 · 114 天前 · 734 次点击
    这是一个创建于 114 天前的主题,其中的信息可能已经有所发展或是发生改变。

    腾讯云最新优惠活动来了:云产品限时1折,云服务器低至88元/年 ,点击这里立即抢购:9i0i.cn/qcloud,更有2860元代金券免费领取,付款直接抵现金用,点击这里立即领取:9i0i.cn/qcloudquan

    (福利推荐:你还在原价购买阿里云服务器?现在阿里云0.8折限时抢购活动来啦!4核8G企业云服务器仅2998元/3年,立即抢购>>>:9i0i.cn/aliyun

    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.
    
    3 条回复  ?  2024-01-04 15:37:37 +08:00
    MasterCai
        1
    MasterCai  
       114 天前 via iPhone
    tm 的文件系统不是 read only 吗?之前试过类似的事情,没成功,应该只能整个删除
    Aurora0
        2
    Aurora0  
    OP
       114 天前
    MasterCai
        3
    MasterCai  
       114 天前 via iPhone
    这样啊,我是直接从 finder 打开之后,尝试删除失败的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1007 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 18:55 · PVG 02:55 · LAX 11:55 · JFK 14:55
    Developed with CodeLauncher
    ? Do have faith in what you're doing.


    http://www.vxiaotou.com