mac-cleanup/mac-cleanup-py

Not cleaning up a declared amount of data

desillusionist opened this issue · 4 comments

Question

The dry run returns the following result: "Approx 26.11 GB will be cleaned." After confirming the continuation of the procedure and saying 'yes' to each questions along it, Mac-Cleanup reports about 700 Mb having been deleted. But after re-running the script, it returns the same result: "Approx 26.11 GB will be cleaned." What am I doing wrong?

👋🏻 Thank you for your feedback, gonna watch it soon

By the way, a new issue had occurred
image
I re-ran the process and it got stuck here.

What am I doing wrong?

Nope, what's kinda weird but expected behavior. I would say it's just a rough estimate.
Some modules store dirs for calculating results for dry run, but they are not precise, e.g. brew module, there are some repair command being run after cleanup

By the way, a new issue had occurred image I re-ran the process and it got stuck here.

That's look like a bug, imo. Looks similar to old issue about sudo privileges.
Could you create a separate issue with the bug? I'll close this one and think about the solution for both problems meanwhile