Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Cleanup all apps *except* most recent n #5990

Open
py9mrg opened this issue May 23, 2024 · 0 comments
Open

[Feature] Cleanup all apps *except* most recent n #5990

py9mrg opened this issue May 23, 2024 · 0 comments

Comments

@py9mrg
Copy link

py9mrg commented May 23, 2024

Hello,

scoop cleanup is a great tool but it always cleans all versions of a program leaving only the current install. It is possible that there may be some programs you have not yet run, which may have some bugs that mean you want to roll back to a previous version. Of course this is possible, but it depends on having a working internet connection at the time, redownloading older versions etc.

What would be helpful - albeit in niche scenarios - would be to use cleanup with a flag such that it cleans everything except the last n versions. For example, scoop cleanup * -n 3 would remove all versions of all programs except the last 3 most recent (including current). For those with less than 3 versions, it would leave them as is. This would allow easier rolling back when necessary.

Thanks,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant