A fast and efficient Rust-based CLI tool to view disk space usage and delete unwanted files or directories.
- 📊 View Disk Space Usage: Displays total and available disk space.
- 🗑️ Delete Files & Directories: Remove unwanted data securely.
- ⚡ Fast & Lightweight: Built with Rust for high performance.
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.