rtkill_demo.mp4
The rust target
folder is what allow your program to run; so it can get (depending on the size of your application) very large (for an intermediate app it's easily >5GB).
If you come from JavaScript
and especially NodeJS
, the node_modules
folder can be an analogy for the rust target
folder.
Therefore, this folder must be deleted whenever the project bound to it is finished, in order to save space on my disk.
But keeping track of every rust projects can be very tedious (if you watch the demo video above, you'll see 107 'target' folders which is quite big for my brain).
So I made this tui app that will scan recursively the folder you specified to find any 'target' rust folders, it'll then shows the result on screen where you'll be able to choose whichever you want to delete.
Be careful, when you press space
on the one you've selected, it instantaneously delete it, it does not mark it for deletion, if you press space
, it's gone
- Improve my rust skillset
- Have fun
Thus do not take this project seriously, it's just a fun side project.
This TUI might not works on other OS than linux, do it at your own risk.
Build from source with cargo
, or download (if you're on linux) the linux executable from the release page
cargo build --release # will creates a single executable for your os in ./target/release, named "rtkill" (with the associated executable extension in your os)
- Elegance ✅
RUST
✨🦀- tui-rs ♥ (awesome lib btw)
- go see Cargo.toml
This project, is heavily inspired by npkill
, which does the same thing but for the node_modules
folder from the NodeJS
ecosystem.