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

Possible to add cleanup? #33

Open
matthewbassett opened this issue Nov 18, 2021 · 3 comments
Open

Possible to add cleanup? #33

matthewbassett opened this issue Nov 18, 2021 · 3 comments

Comments

@matthewbassett
Copy link

Hi, wondering if it would be possible to add some automatic cleanup of older packages into the script? I keep running into issues where my cache is growing a bit too big, and I manually go through and clean out some older packages to free space. Thoughts?
Thanks again for an awesome script (:
Matt

@kevinmcox
Copy link
Contributor

Deja Vu! I was just thinking about this same thing earlier in the week (now that I plan to convert my server to caching only and use one of the Microsoft curated custom URLs for delaying updates).

I was going to just do a separate script, but if others are interested it would make sense to incorporate it into MAUCacheAdmin.

@nixtar
Copy link
Contributor

nixtar commented Nov 18, 2021

I've written a powershell script based on MAUCacheAdmin that syncs the repo (including cleaning up old files, robocopy /mir style).

I've validated it on PS5.1 and also 7 so it's not exclusive to Windows.
My plan was to eventually replicate the full MAU Cache Admin functionality but in the form of a powershell module.

My motivation for the project has kind of died off as my use case is currently just to sync the repo for caching and its doing its job for now.

If this sounds useful to anyone please let me know and it might be motivation enough for me to at least clean up what I have currently for syncing the updates.

@kevinmcox
Copy link
Contributor

Submitted #34 to address this request.

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

No branches or pull requests

3 participants