7 releases
0.3.1 | May 28, 2024 |
---|---|
0.2.0 | Jan 16, 2024 |
0.1.5 | Jan 2, 2024 |
#1280 in Command line utilities
54KB
1.5K
SLoC
fast directory sizing on OSX, using reverse engineered finder cache api
Overview
dx leverages the obscure macOS C Finder cache to rapidly get folder sizes. Built in Rust, this utility integrates Objective C via Foreign Function Interface (FFI). Experience folder sizing at speeds up to 20x faster than traditional methods like du -sh
.
Features
- Efficient Sizing: Utilizes macOS Finder cache for ultra-fast folder size computation.
- Rust and Objective C Integration: Seamlessly integrates Rust with Objective C using FFI.
- Multiple Methods: if you dont want any cache you can still run dx with --live and get a recursive sizing
- Performance: Outperforms
du -sh
by up to 20x in speed. - User-Friendly Defaults: Provides more intuitive defaults compared to traditional methods.
Installation
cargo install dx-cli
Usage
sane defaults:
dx dir
is equivalent todu -sh dir
dx dir -l
functions likedu -h dir
Contributing
Contributions to dx are welcome! Whether it's bug reports, feature suggestions, or code contributions, your input is valuable. See CONTRIBUTING.md for guidelines on how to contribute.
License
(Include information about your project's license here.)
Dependencies
~8–17MB
~212K SLoC