Jinsi ya kufuta (unofficial) Choco Cleaner (Script + Task)


choco://choco-cleaner To use choco:// protocol URLs, install (unofficial) choco:// Protocol support


Screenshot of Choco-Cleaner

##DO YOU WANT TO RECOVER SOME DISK SPACE USED BY UNNECESSARY RESIDUAL CHOCOLATEY FILES?

##YOU JUST FOUND THE EASY WAY!

####This package creates a Windows Scheduled Task to run Choco-Cleaner.ps1 every Sunday at 11:00 PM.

##BEFORE and AFTER Choco-Cleaner: (198 packages installed and does not include temp folder deletions.) schreenshot of files and diskspace  before Choco-Cleaner screenshot of files and diskspace after choco-cleaner

Sure, you're probably not going to get gigabytes of space back, but every few KB matters on some computers and to some people! Due to slack space small files such as 6 byte .ignore files actually take up 4 KB of HDD space each.

##FEATURES:

Set it and forget it! Choco-Cleaner cleans up your Chocolatey installation every Sunday at 11 PM in the background so you don't have to be bothered with it.

Choco-Cleaner is completely configurable, just edit \ProgramData\chocolatey\bin\Choco-Cleaner.xml and set true/false for any grouping of file types you want to delete or not. License and log files default to false. This has been mandated to me by Chocolatey for passing moderation. Everything else listed below is deleted by default.

Choco-Cleaner deletes:

  • .log files that are not the most current one (NOT default)
  • .zip, .rar, .iso, and various archive files left over from packages that forgot to delete them post install
  • .zip.txt and other archive-extensions.txt are lists of files that were extracted from an archive file for installation
  • .msi, .msu, and .msp are Microsoft intall packages left over from packages that forgot to delete them post install
  • .ignore files that are created to not shim executables during package install but not needed after shim operations are finished (This may change in a future version of Chocolatey.)
  • credits.txt are program credits (of contributors) files you can read on the web
  • readme.txt files you can read on the web
  • .md files are usually markdown readme files that you can read on the web
  • .old files are Chocolatey files that have been replaced by newer versions (exe's and dll's mostly)
  • chocolatey.config.backup is a backup of your chocolatey.config file
  • _processed.txt - I have no idea what made this file or why it exists
  • lib-bad holds packages that failed to install and lib-bkp contains aborted packages (during updates?)
  • archives and executables out of .nupkg files which are ZIP archives with NuGet package information - this is similar to what Package Reducer does
  • \users\username\AppData\Local\Temp\chocolatey is where new package files are downloaded to during pre-installation (if you haven't changed your cacheLocation in chocolatey.config)
  • files in cacheLocation if set in chocolatey.config
  • \users\username\AppData\Local\Nuget\Cache if Nuget client is installed and caching files there
  • \Windows\Temp\chocolatey
  • license.txt and verification.txt files are included when packages include binaries, you can read them on the package web page, programname.license.txt files are license files for Chocolatey default tools (NOT default)

If you find Choco-Cleaner useful, and I suspect you will, please consider donating: https://www.paypal.me/bcurran3donations or become a patron at https://www.patreon.com/bcurran3

Downloads number: 3 219
Size: 16.35 kB
Update Date: 28.01.2019
Distribution Scheme: free of charge software
Operation Systems: Windows 7 x64, Windows 8 x64,
Windows 8.1 x64, Windows 10 x64, Windows 11 x64