[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5478":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":16,"starSnapshotCount":16,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},5478,"dust","bootandy\u002Fdust","bootandy","A more intuitive version of du in rust","",null,"Rust",11820,273,37,9,0,5,35,141,27,42.31,"Apache License 2.0",false,"master",true,[],"2026-06-12 02:01:10","[![Build Status](https:\u002F\u002Fgithub.com\u002Fbootandy\u002Fdust\u002Factions\u002Fworkflows\u002FCICD.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fbootandy\u002Fdust\u002Factions)\n\n\n# Dust\n\ndu + rust = dust. Like du but more intuitive.\n\n# Why\n\nBecause I want an easy way to see where my disk is being used.\n\n# Demo\n\n![Example](media\u002Fsnap.png)\n\nStudy the above picture. \n\n* We see `target` has 1.8G\n* `target\u002Fdebug` is the same size as `target` - so we know nearly all the disk usage of the 1.8G is in this folder\n* `target\u002Fdebug\u002Fdeps` this is 1.2G - Note the bar jumps down to 70% to indicate that most disk usage is here but not all.\n* `target\u002Fdebug\u002Fdeps\u002Fdust-e78c9f87a17f24f3` - This is the largest file in this folder, but it is only 46M - Note the bar jumps down to 3% to indicate the file is small.\n\nFrom here we can conclude:\n * `target\u002Fdebug\u002Fdeps` takes the majority of the space in `target` and that `target\u002Fdebug\u002Fdeps` has a large number of relatively small files.\n  \n\n## Install\n\n### Quick Install (Linux, macOS, Windows) \n```bash\ncurl -sSfL https:\u002F\u002Fraw.githubusercontent.com\u002Fbootandy\u002Fdust\u002Frefs\u002Fheads\u002Fmaster\u002Finstall.sh | sh\n```\n\n### Cargo \u003Ca href=\"https:\u002F\u002Frepology.org\u002Fproject\u002Fdu-dust\u002Fversions\">\u003Cimg src=\"https:\u002F\u002Frepology.org\u002Fbadge\u002Fvertical-allrepos\u002Fdu-dust.svg\" alt=\"Packaging status\" align=\"right\">\u003C\u002Fa>\n\n#### Cargo\n\n- `cargo install du-dust`\n\n#### 🍺 Homebrew (Mac OS)\n\n- `brew install dust`\n\n#### 🍺 Homebrew (Linux)\n\n- `brew install dust`\n\n#### [Snap](https:\u002F\u002Fubuntu.com\u002Fcore\u002Fservices\u002Fguide\u002Fsnaps-intro) Ubuntu and [supported systems](https:\u002F\u002Fsnapcraft.io\u002Fdocs\u002Finstalling-snapd)\n\n- `snap install dust`\n\nNote: `dust` installed through `snap` can only access files stored in the `\u002Fhome` directory. See daniejstriata\u002Fdust-snap#2 for more information.\n\n#### [Pacstall](https:\u002F\u002Fgithub.com\u002Fpacstall\u002Fpacstall) (Debian\u002FUbuntu)\n\n- `pacstall -I dust-bin`\n\n#### Anaconda (conda-forge)\n\n- `conda install -c conda-forge dust`\n\n#### [deb-get](https:\u002F\u002Fgithub.com\u002Fwimpysworld\u002Fdeb-get) (Debian\u002FUbuntu)\n\n- `deb-get install du-dust`\n\n#### [x-cmd](https:\u002F\u002Fwww.x-cmd.com\u002Fpkg\u002F#VPContent)\n\n- `x env use dust`\n\n#### Windows:\n\n- `scoop install dust`\n- Windows GNU version - works\n- Windows MSVC - requires: [VCRUNTIME140.dll](https:\u002F\u002Fdocs.microsoft.com\u002Fen-gb\u002Fcpp\u002Fwindows\u002Flatest-supported-vc-redist?view=msvc-170)\n\n#### Download\n\n- Download Linux\u002FMac binary from [Releases](https:\u002F\u002Fgithub.com\u002Fbootandy\u002Fdust\u002Freleases)\n- unzip file: `tar -xvf _downloaded_file.tar.gz`\n- move file to executable path: `sudo mv dust \u002Fusr\u002Flocal\u002Fbin\u002F`\n\n## Overview\n\nDust is meant to give you an instant overview of which directories are using disk space without requiring sort or head. Dust will print a maximum of one 'Did not have permissions message'.\n\nDust will list a slightly-less-than-the-terminal-height number of the biggest subdirectories or files and will smartly recurse down the tree to find the larger ones. There is no need for a '-d' flag or a '-h' flag. The largest subdirectories will be colored.\n\nThe different colors on the bars: These represent the combined tree hierarchy & disk usage. The shades of grey are used to indicate which parent folder a subfolder belongs to. For instance, look at the above screenshot. `.steam` is a folder taking 44% of the space. From the `.steam` bar is a light grey line that goes up. All these folders are inside `.steam` so if you delete `.steam` all that stuff will be gone too.\n\nIf you are new to the tool I recommend to try tweaking the `-n` parameter. `dust -n 10`, `dust -n 50`.\n\n## Usage\n\n```\nUsage: dust\nUsage: dust \u003Cdir>\nUsage: dust \u003Cdir>  \u003Canother_dir> \u003Cand_more>\nUsage: dust -p (full-path - Show fullpath of the subdirectories)\nUsage: dust -s (apparent-size - shows the length of the file as opposed to the amount of disk space it uses)\nUsage: dust -n 30  (Shows 30 directories instead of the default [default is terminal height])\nUsage: dust -d 3  (Shows 3 levels of subdirectories)\nUsage: dust -D (Show only directories (eg dust -D))\nUsage: dust -F (Show only files - finds your largest files)\nUsage: dust -r (reverse order of output)\nUsage: dust -o si\u002Fb\u002Fkb\u002Fkib\u002Fmb\u002Fmib\u002Fgb\u002Fgib (si - prints sizes in powers of 1000. Others print size in that format).\nUsage: dust -X ignore  (ignore all files and directories with the name 'ignore')\nUsage: dust -x (Only show directories on the same filesystem)\nUsage: dust -b (Do not show percentages or draw ASCII bars)\nUsage: dust -B (--bars-on-right - Percent bars moved to right side of screen)\nUsage: dust -i (Do not show hidden files)\nUsage: dust -c (No colors [monochrome])\nUsage: dust -C (Force colors)\nUsage: dust -f (Count files instead of diskspace [Counts by inode, to include duplicate inodes use dust -f -s])\nUsage: dust -t (Group by filetype)\nUsage: dust -z 10M (min-size, Only include files larger than 10M)\nUsage: dust -e regex (Only include files matching this regex (eg dust -e \"\\.png$\" would match png files))\nUsage: dust -v regex (Exclude files matching this regex (eg dust -v \"\\.png$\" would ignore png files))\nUsage: dust -L (dereference-links - Treat sym links as directories and go into them)\nUsage: dust -P (Disable the progress indicator)\nUsage: dust -R (For screen readers. Removes bars\u002Fsymbols. Adds new column: depth level. (May want to use -p for full path too))\nUsage: dust -S (Custom Stack size - Use if you see: 'fatal runtime error: stack overflow' (default allocation: low memory=1048576, high memory=1073741824)\"),\nUsage: dust --skip-total (No total row will be displayed)\nUsage: dust -z 40000\u002F30MB\u002F20kib (Exclude output files\u002Fdirectories below size 40000 bytes \u002F 30MB \u002F 20KiB)\nUsage: dust -j (Prints JSON representation of directories, try: dust -j  | jq)\nUsage: dust --files0-from=FILE (Read NUL-terminated file paths from FILE; if FILE is '-', read from stdin)\nUsage: dust --files-from=FILE (Read newline-terminated file paths from FILE; if FILE is '-', read from stdin)\nUsage: dust --collapse=node-modules will keep the node-modules folder collapsed in display instead of recursively opening it\n```\n\n## Config file\n\nDust has a config file where the above options can be set.\nEither: `~\u002F.config\u002Fdust\u002Fconfig.toml` or `~\u002F.dust.toml`\n```\n$ cat ~\u002F.config\u002Fdust\u002Fconfig.toml\nreverse=true\n```\n\n## Alternatives\n\n- [NCDU](https:\u002F\u002Fdev.yorhel.nl\u002Fncdu)\n- [dutree](https:\u002F\u002Fgithub.com\u002Fnachoparker\u002Fdutree)\n- [dua](https:\u002F\u002Fgithub.com\u002FByron\u002Fdua-cli\u002F)\n- [pdu](https:\u002F\u002Fgithub.com\u002FKSXGitHub\u002Fparallel-disk-usage)\n- [dirstat-rs](https:\u002F\u002Fgithub.com\u002Fscullionw\u002Fdirstat-rs)\n- `du -d 1 -h | sort -h`\n\n## Why to use Dust over the Alternatives\n\nDust simply Does The Right Thing when handling lots of small files & directories. Dust keeps the output simple by only showing large entries.\n\nTools like ncdu & baobab, give you a view of directory sizes but you have no idea where the largest files are. For example directory A could have a size larger than directory B, but in fact the largest file is in B and not A. Finding this out via these other tools is not trivial whereas Dust will show the large file clearly in the tree hierarchy \n\nDust will not count hard links multiple times (unless you want to `-s`).\n\nTyping `dust -n 90` will show you your 90 largest entries. `-n` is not quite like `head -n` or `tail -n`, dust is intelligent and chooses the largest entries\n\n\n","Dust 是一个用 Rust 语言编写的磁盘使用情况分析工具，旨在提供比传统 `du` 命令更直观的体验。其核心功能包括通过彩色条形图直观展示目录和文件占用的空间大小，自动递归查找大文件，并智能地限制输出高度以适应终端窗口，同时支持多种安装方式如 Cargo、Homebrew 或 Snap 等。该工具特别适用于需要快速定位系统中磁盘空间消耗大户的情况，帮助用户轻松识别哪些文件或目录占用了大量存储空间，从而进行有效的清理或优化。",2,"2026-06-11 03:03:32","top_language"]