holmgr / cargo-sweep

A cargo subcommand for cleaning up unused build files generated by Cargo
MIT License
694 stars 31 forks source link

Show total disk space saved by deleting files #10

Closed NPN closed 5 years ago

NPN commented 5 years ago

It would be nice to see how much disk space is or would be saved by running a sweep. For example, you might keep fewer days (at the cost of more recompiling later) if you really need to save disk space.

holmgr commented 5 years ago

Sounds like a good idea! Should not be that hard to add that as a default output, i.e both to dry-runs but also to the normal cleaning output.

Will try to have this out this weekend as part of 0.3.0 which I am currently working on :)