https://github.com/loipesmas/sofidu
An alternative to du, that lets you sort and filter the results
https://github.com/loipesmas/sofidu
cli cli-tool disk-space disk-usage multithreading rust rust-lang utility
Last synced: 6 months ago
JSON representation
An alternative to du, that lets you sort and filter the results
- Host: GitHub
- URL: https://github.com/loipesmas/sofidu
- Owner: LoipesMas
- License: mit
- Created: 2021-12-30T14:12:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-07T19:01:00.000Z (about 4 years ago)
- Last Synced: 2025-06-04T05:10:41.956Z (8 months ago)
- Topics: cli, cli-tool, disk-space, disk-usage, multithreading, rust, rust-lang, utility
- Language: Rust
- Homepage:
- Size: 54.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://github.com/LoipesMas/sofidu/actions/workflows/rust.yml)
An alternative to du(1), that lets you sort and filter the results.
Created because I needed something like this and wanted to test my rust skills.
---

### Current functionality:
- Display files and folders in a tree-like structure with their sizes and as percentage of parent size.
- Display them as a list (`-l`)
- Sort by size (`-s`)(descending, or ascending with `-r`)
- Only show files and folders which have size above given threshold (`-t`)
- Select depth of displayed files/folders (`-d`)(e.g. show only files/folders that are at most X folders deep)
- Multithreading, thanks to [rayon](https://crates.io/crates/rayon)
### TODO:
- More tests
- More features? (need ideas)