Open matthewbassett opened 3 years ago
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.
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.
Submitted #34 to address this request.
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