| Crates.io | view-disk |
| lib.rs | view-disk |
| version | 0.1.0 |
| created_at | 2025-01-29 05:58:08.669403+00 |
| updated_at | 2025-01-29 05:58:08.669403+00 |
| description | A fast and efficient Rust-based CLI tool to view disk space usage and delete unwanted files or directories. |
| homepage | https://github.com/thinkphp/view-disk |
| repository | https://github.com/thinkphp/view-disk |
| max_upload_size | |
| id | 1534419 |
| size | 22,291 |
A fast and efficient Rust-based CLI tool to view disk space usage and delete unwanted files or directories.
git clone https://github.com/your-username/view-disk.git
cd view-disk
cargo build --release
./target/release/view-disk --help
cargo run -- --view
or, if built:
./target/release/view-disk --view
cargo run -- --delete /path/to/file
cargo run -- --delete /path/to/directory
Disk Usage:
Name: "/dev/sda1", Total: 500000 MB, Available: 320000 MB
or when deleting:
File "/home/user/old.log" deleted successfully.
cargo run -- --view
cargo fmt
cargo clippy
MIT License © 2025 Your Name
Pull requests are welcome! Feel free to open an issue for feature requests or bug reports.