badweed.blogg.se

Check folder size
Check folder size








check folder size

To properly list root / on that system, I also needed -exclude-firmlinks, e.g.: brew install ncdu

  • -exclude-kernfs skips special filesystems like /sys.
  • -x stops crossing of filesystem barriers.
  • check folder size

    You likely want: ncdu -exclude-kernfs -x / "Total disk usage" vs "Apparent size" is analogous to du, and I have explained it at: why is the output of `du` often so different from `du -b` This way don't have to recalculate sizes as you move inside subdirectories as you try to determine what the disk hog is. Ncdu only calculates file sizes recursively once at startup for the entire tree, so it is efficient. Then, I enter down and right on my keyboard to go into the /drivers folder, and I see: This awesome CLI utility allows you to easily find the large files and directories (recursive total size) interactively.įor example, from inside the root of a well known open source project we do: sudo apt install ncdu










    Check folder size