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

自己撸了一个小工具、终于吧 Mac"系统数据"占用干下来了

  •  
  •   airtee · 1 天前 · 2824 次点击

    以前用惯了 1TB 的 Mac ,去年贪便宜(以旧换新+国补)换了个小硬盘版,结果没多久磁盘就爆了。MD 不想花 598 买 CleanMyMac ,趁着 Cursor 还有这个月还有点额度,直接半个小时撸了个磁盘分析工具,终于把空间清出来了!为啥这些 Mac App 的开发者总喜欢用 Electron 开发 ,还喜欢在磁盘里到处拉粑粑!搞的文件系统乱七八糟!

    33 条回复    2026-04-12 18:25:30 +08:00
    zfyime
        1
    zfyime  
       1 天前
    分享一下呀
    airtee
        2
    airtee  
    OP
       1 天前
    ![]( ) 爱思助手备份、微信、飞书、企业微信、Chrome 浏览器吃的最多,这都是清理第二遍的时候 截的图了
    NoCash
        3
    NoCash  
       1 天前
    DaisyDisk 了解一下?
    NoCash
        4
    NoCash  
       1 天前
    Windows 对应的是 SpaceSniffer
    airtee
        5
    airtee  
    OP
       1 天前
    @zfyime 我放到 WeQiengine 公众号自动回复里了、你自取下哈!
    airtee
        6
    airtee  
    OP
       1 天前
    @NoCash 68¥啊我看商店
    MasterCai
        7
    MasterCai  
       1 天前
    楼主打算开源吗,我 1T 也快爆了
    hongns
        8
    hongns  
       1 天前   ❤️ 4
    凡公众号引流不看
    airtee
        9
    airtee  
    OP
       1 天前 via iPhone
    @MasterCai 开了!放云盘了!不打算商业化!也没打算继续更新!我就不一一回复了!我只是用自动回复代替我手动回复!觉得引流可以右上角退出
    airtee
        10
    airtee  
    OP
       1 天前
    @hongns 不打算商业化!也没打算继续更新!我就不一一回复了!我只是用自动回复代替我手动回复!觉得引流可以右上角退出
    MasterCai
        11
    MasterCai  
       1 天前
    @MasterCai 为什么不放 Github🤣
    fenglala
        12
    fenglala  
       1 天前   ❤️ 1
    介绍一下以下两个都是开源的

    Target Platforms: Linux, BSD, Unix-like systems; macOS
    https://github.com/shundhammer/qdirstat


    Compatibility
    WinDirStat 2.x has been developed for and tested on the following operating systems. They may work on older or newer operating systems but are not supported.

    Windows 8
    Windows 8.1
    Windows 10
    Windows 11
    Windows Server 2012
    Windows Server 2012 R2
    Windows Server 2016
    Windows Server 2019
    Windows Server 2022
    Windows Server 2025

    https://github.com/windirstat/windirstat
    stinkytofux
        13
    stinkytofux  
       1 天前   ❤️ 7
    airtee
        14
    airtee  
    OP
       1 天前
    @MasterCai 因为本身没打算开源!就是自己造个小玩具玩玩!我也不是专业搞 Apple 开发的!单纯自己强迫症想把那个东西释放出来!
    @stinkytofux 这个不错 、等会用 rust 重构一版! cursor 还有点额度没撸完
    airtee
        15
    airtee  
    OP
       1 天前
    @fenglala 感谢!但是我没 window 电脑
    fenglala
        16
    fenglala  
       1 天前
    @airtee 我发俩了链接,上边那个是 macOS 可用的
    airtee
        17
    airtee  
    OP
       1 天前
    @fenglala 看到了 我看那个是基于 QT 写的,我这个人 有点代码洁癖 要么 cli 要么原生语言、不喜欢一个简单的东西、用很大容量 或者很糟糕的语言 去搞、命名 1M 或者是 10M 程序能解决的事情 去用 300M 去解决,相比而言 我更喜欢 Rust 或者 Swift ,不是说 Swift 有多优秀,但是在 Mac 上 Swift 有天生的优势
    lanceli
        18
    lanceli  
       1 天前
    @stinkytofux 感谢分享 试了下不错
    airtee
        19
    airtee  
    OP
       1 天前
    @lanceli 能帮到你就好!
    airtee
        20
    airtee  
    OP
       1 天前
    有喜欢 轻量即开发、喜欢用 rust 等其他高效 原生语言的开发群 老哥们可以拉我一下群聊、或者出海的相关群也可以
    MasterCai
        21
    MasterCai  
       1 天前
    @airtee #14 扫了半个小时之后崩溃退出了😂
    usVexMownCzar
        22
    usVexMownCzar  
       1 天前
    可以试试免费的 pearcleaner
    airtee
        23
    airtee  
    OP
       1 天前
    @MasterCai 。。。。
    bkmi
        24
    bkmi  
       23 小时 54 分钟前 via Android
    腾讯 lemon 里的磁盘空间分析也挺好用的
    jchencode
        25
    jchencode  
       23 小时 2 分钟前
    @bkmi 小心误删你文件
    Lyio
        26
    Lyio  
       20 小时 55 分钟前
    感谢大佬分享 明天下载来试试效果
    YanSeven
        27
    YanSeven  
       20 小时 33 分钟前
    我时常懊恼的就是舍不得多加那 1300 块没有上 1T 版本的,搞了个 512G 的,导致我现在隔三差五就要清一清数据,我还有存储焦虑症,只要系统显示剩余还不到 200G 就浑身不自在。着实痛苦。
    lambdaX999
        28
    lambdaX999  
       19 小时 52 分钟前
    @YanSeven 别懊悔,我 2T 的一样遇到这个问题
    14
        29
    14  
       9 小时 51 分钟前
    我用 OmniDiskSweeper https://www.omnigroup.com/more
    MacsedProtoss
        30
    MacsedProtoss  
       7 小时 45 分钟前 via iPhone
    @14 +1 omni 还挺好用的 只是你需要自己知道这个路径是干嘛的
    airtee
        31
    airtee  
    OP
       6 小时 59 分钟前 via iPhone
    @YanSeven 哈哈哈同感
    stuliren
        32
    stuliren  
       4 小时 14 分钟前
    这个原理是什么哇,因为我见到过很多清理 mac 的小程序(比如 mole ),感觉都没法像楼主这个清理的这么“激进”,不知道适不适用与自己
    airtee
        33
    airtee  
    OP
       1 小时 51 分钟前
    @stuliren 这个只做分析,清理看自己需求,开发缓存 sdk 等工具缓存是一件清理的!主要是把国内哪些软件 拉的不规范的屎暴露出来
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   3008 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:16 · PVG 20:16 · LAX 05:16 · JFK 08:16
    ♥ Do have faith in what you're doing.