{"id":13405805,"url":"https://github.com/bootandy/dust","last_synced_at":"2025-05-12T03:47:55.974Z","repository":{"id":37270551,"uuid":"125563061","full_name":"bootandy/dust","owner":"bootandy","description":"A more intuitive version of du in rust","archived":false,"fork":false,"pushed_at":"2025-04-20T18:55:36.000Z","size":706,"stargazers_count":9662,"open_issues_count":6,"forks_count":210,"subscribers_count":37,"default_branch":"master","last_synced_at":"2025-05-01T13:53:58.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bootandy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-03-16T19:49:52.000Z","updated_at":"2025-04-30T14:20:59.000Z","dependencies_parsed_at":"2023-12-11T23:08:05.512Z","dependency_job_id":"398b7fc8-8d75-44d4-ba68-67699aa709c8","html_url":"https://github.com/bootandy/dust","commit_stats":{"total_commits":433,"total_committers":48,"mean_commits":9.020833333333334,"dds":"0.23556581986143188","last_synced_commit":"e78690e4f59f6aeeffa778336b708418d9291a93"},"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootandy%2Fdust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootandy%2Fdust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootandy%2Fdust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bootandy%2Fdust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bootandy","download_url":"https://codeload.github.com/bootandy/dust/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253672324,"owners_count":21945473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T19:02:12.311Z","updated_at":"2025-05-12T03:47:55.938Z","avatar_url":"https://github.com/bootandy.png","language":"Rust","readme":"[![Build Status](https://github.com/bootandy/dust/actions/workflows/CICD.yml/badge.svg)](https://github.com/bootandy/dust/actions)\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/snap.png)\n\n## Install\n\n#### Cargo \u003ca href=\"https://repology.org/project/du-dust/versions\"\u003e\u003cimg src=\"https://repology.org/badge/vertical-allrepos/du-dust.svg\" alt=\"Packaging status\" align=\"right\"\u003e\u003c/a\u003e\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://ubuntu.com/core/services/guide/snaps-intro) Ubuntu and [supported systems](https://snapcraft.io/docs/installing-snapd)\n\n- `snap install dust`\n\nNote: `dust` installed through `snap` can only access files stored in the `/home` directory. See daniejstriata/dust-snap#2 for more information.\n\n#### [Pacstall](https://github.com/pacstall/pacstall) (Debian/Ubuntu)\n\n- `pacstall -I dust-bin`\n\n#### Anaconda (conda-forge)\n\n- `conda install -c conda-forge dust`\n\n#### [deb-get](https://github.com/wimpysworld/deb-get) (Debian/Ubuntu)\n\n- `deb-get install du-dust`\n\n#### [x-cmd](https://www.x-cmd.com/pkg/#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://docs.microsoft.com/en-gb/cpp/windows/latest-supported-vc-redist?view=msvc-170)\n\n#### Download\n\n- Download Linux/Mac binary from [Releases](https://github.com/bootandy/dust/releases)\n- unzip file: `tar -xvf _downloaded_file.tar.gz`\n- move file to executable path: `sudo mv dust /usr/local/bin/`\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 \u0026 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\n## Usage\n\n```\nUsage: dust\nUsage: dust \u003cdir\u003e\nUsage: dust \u003cdir\u003e  \u003canother_dir\u003e \u003cand_more\u003e\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/b/kb/kib/mb/mib/gb/gib (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)\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/symbols. 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/30MB/20kib (Exclude output files/directories below size 40000 bytes / 30MB / 20KiB)\nUsage: dust -j (Prints JSON representation of directories, try: dust -j  | jq)\nUsage: dust --files0-from=FILE (Reads null-terminated file paths from FILE); If FILE is - then 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: `~/.config/dust/config.toml` or `~/.dust.toml`\n```\n$ cat ~/.config/dust/config.toml\nreverse=true\n```\n\n## Alternatives\n\n- [NCDU](https://dev.yorhel.nl/ncdu)\n- [dutree](https://github.com/nachoparker/dutree)\n- [dua](https://github.com/Byron/dua-cli/)\n- [pdu](https://github.com/KSXGitHub/parallel-disk-usage)\n- [dirstat-rs](https://github.com/scullionw/dirstat-rs)\n- du -d 1 -h | sort -h\n\nNote: Apparent-size is calculated slightly differently in dust to gdu. In dust each hard link is counted as using file_length space. In gdu only the first entry is counted.\n","funding_links":[],"categories":["Rust","Files and Directories","Command Line","Applications","应用程序 Applications","Other","Linux System Tools","语言资源库","others","Tools","FileSystem","命令行工具","\u003ca name=\"disk-analyzer\"\u003e\u003c/a\u003eDisk usage analyzers","Linux生态圈Dev\u0026Ops工具与服务","Command line - Linux","⚡ Productivity","Modern Unix Replacements","\\*nix/\\*nux","系统工具"],"sub_categories":["Disk Usage","Dependency Management","System tools","系统工具 System tools","File \u0026 Directory Tools","rust","Rust","Learning resources","Useful Linux Tools","Filesystem Management"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootandy%2Fdust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbootandy%2Fdust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootandy%2Fdust/lists"}