# dust **Repository Path**: src-openeuler/dust ## Basic Information - **Project Name**: dust - **Description**: du + rust = dust. Like du but more intuitive. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 5 - **Created**: 2021-10-13 - **Last Updated**: 2024-12-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: Application ## README # dust #### 介绍 dust命令是基于Rust语言开发的对du命令的一个实现,同事增强部分显示效果,使得信息查看更直观。 #### 为什么要用dust 信息查询效果更好,并支持树状结构显示 #### 软件架构 软件架构说明 #### 安装教程 ### rpm安装 1. 'rpm -ivh dust-0.7.5-1.x86_64.rpm' or 'rpm -ivh dust-0.7.5-1.aarch64.rpm' ### cargo安装 1. 'rpm -ivh dust-0.7.5-1.src.rpm' 2. 'cargo build --release' #### 概述 在Linux命令行上工作,像du这样的命令,可以让程序员快速查询磁盘使用情况,是非常有效率的方法之一。 然后这里提供了另外一种选择,可以节省更多的时间,使程序员更高效,这就是dust,它是用Rust重写的du,具有直观性的查看方式。 dust是一个提供文件类型和元数据的工具。如果你在一个目录中运行了dust,它将以几种方式报告该目录的磁盘利用率。 dust提供了一个信息量很大的图表,告诉你哪个文件夹使用的磁盘空间最大。如果有嵌套的文件夹,你可以看到每个文件夹使用的空间百分比。 总之,dust的魅力在于它是一个小而简单的、易于理解的命令。它使用颜色方案来表示最大的子目录,使你的目录易于可视化。 #### 使用说明 Usage: dust Usage: dust Usage: dust Usage: dust -p (full-path - Show fullpath of the subdirectories) Usage: dust -s (apparent-size - shows the length of the file as opposed to the amount of disk space it uses) Usage: dust -n 30 (shows 30 directories instead of the default [default is terminal height]) Usage: dust -d 3 (shows 3 levels of subdirectories) Usage: dust -r (reverse order of output) Usage: dust -X ignore (ignore all files and directories with the name 'ignore') Usage: dust -x (only show directories on the same filesystem) Usage: dust -b (do not show percentages or draw ASCII bars) Usage: dust -i (do not show hidden files) Usage: dust -c (No colors [monochrome]) Usage: dust -f (Count files instead of diskspace) Usage: dust -t Group by filetype Usage: dust -e regex Only include files matching this regex (eg dust -e "\.png$" would match png files) #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)