12 comments

  • socks 9 minutes ago
    I slopped up my own basic version of this a few weeks ago that deduplicates Copy on Write usage on APFS - and with very similar ideas in a few places [albeit mine has MCP suggestions rather than a rule engine], but yours looks much prettier. https://github.com/timkrins/apdu
  • forgotpwd16 1 hour ago
    Looks very nice. Compared to ncdu, good added features w/o bloat. For NTFS drive scans (especially since also targets Windows), rather (assume does) using a regular "walk every directoy" approach, can utilize MFT for improved speed. (What WinDirStat's doing.) Also, one of the rare occasions project doesn't brand itself "written in Rust".
  • baalimago 5 hours ago
    Neat! I don't mean to do the classic HN "comment to promote other thing" (even if I technically am), but I built https://github.com/baalimago/duls which also spawned from wanting to have a faster du/df experience. Pivot I took with duls is to bake in context from files directly into the view, and summarize "all you need to know" into a limited terminal space (as opposed to a tui). It also scans until the time runs out, giving best effort within that window, continuously appending context.

    It's not at all as feature complete as Dfdu, and it doesn't try to be. Might serve for some inspiration for features. Good job OP!

  • virtualritz 1 hour ago
    Shameless plug: I have been maintaining an ocy fork [1].

    ocy is a Rust CLI for cleaning up build caches, etc. I.e. it only does that part but tries to do it fast and thorough. It e.g. finds worktrees in hidden folders and the like.

    It is also parallelized and usually takes seconds to build a list of stuff that can go. It supports filtering by language/tooling.

    https://github.com/virtualritz/ocy

  • Tepix 4 hours ago
    Why not upstream improvements to ncdu? Have you tried?
    • wging 2 hours ago
      Yorhel, the author of ncdu, died earlier this year (March).
  • wanghq 3 hours ago
    Nice, wish you great success so you can acquire my dfdu.com in the future :)
  • ece 33 minutes ago
    Mentions ncdu, but musl binary?
  • wolfi1 2 hours ago
    why should I install this via 'curl | sh'?
    • goodpoint 13 minutes ago
      You shouldn't.
    • bdzr 2 hours ago
      because it's no less safe than installing through a package manager; that code hasn't been audited either.
    • forgotpwd16 1 hour ago
      Convenience? There're few other ways shown on README/INSTALL pages if want less obscure method. Ironically `https://dfdu.app/llms.txt` is quite nice native language TL;DR to project's README/INSTALL pages.
  • webprofusion 3 hours ago
    Looks great! I'm not convinced it's any faster than Treesize Free currently
    • webprofusion 2 hours ago
      I like the Cleanup view !
      • webprofusion 2 hours ago
        Seems to have a bug (Windows) where it like small files (like json) are Exabytes in size (EiB) so they appear before GB sized files. This in the "Largest" view.
  • pcj-github 4 hours ago
    loving this
  • Kushvinthe 6 hours ago
    Been using ncdu and gdu for years, curious how this compares on speed for huge directories with lots of small files (like node_modules). Having both a TUI and a desktop UI in one tool is a nice touch though.
    • pragmatick 5 hours ago
      5.5 seconds for dfdu, 8.5 seconds for ncdu on my projects folder (1.4 million items).

      10 seconds for dfdu, 23 seconds for dfdu on my home directory (2.6 million items).

      • gozucito 5 hours ago
        > 10 seconds for dfdu, 23 seconds for dfdu on my home directory (2.6 million items).

        I assume your last dfdu was meant to be ncdu ?

        Thanks for the numbers! This looks extremely promising! 30-60% faster is incredible.

        Great job OP! Way to reduce the amount of suffering in the world! ;)

  • oniconnect 5 hours ago
    [dead]