Git Product home page Git Product logo

open-chocolatey-reducer's Introduction

open-chocolatey-reducer

Open Chocolatey Reducer is a script that mimics the official Chocolatey Package Reducer available in the Pro and Business versions of Chocolatey.

How my program works

Open Chocolatey Reducer mimics the official Chocolatey Package Reducer by using Windows batch scripting to manually & recursively delete any 7z, zip, rar, gz, tar, sfx, iso, msi, msu, msp, and exe files in the "%APPDATA%\chocolatey" directory at the log-on of any user.

How the official program works

The official Chocolatey Package Reducer scans the "%APPDATA%\chocolatey" directory recursively for any 7z, zip, rar, gz, tar, sfx, iso, msi, msu, msp, and exe files. If it locates any of the listed file types, it deletes them. Additionally, it also reduces the file size of nupkg files. This is an effective way to remove unwanted installation files, but it's unfortunately locked behind a paywall. I highly encourage you to support Chocolatey if you feel so inclined.

Requirements

  • Working installation of Windows 7 / 8 / 8.1 / 10 / 11
  • Working installation of Chocolatey
  • Administrator access on your PC

Installation

  1. Extract "OCR_1.0.1.zip" into your Downloads folder. If you extract to a different directory, you'll have to edit the installation .bat file accordingly.

  2. Open the "Installer" directory located within the "OCR_1.0.1" folder that you just extracted.

  3. Open "(Step 1) Import Task into Task Scheduler"

  4. Import the "Open Chocolatey Reducer.xml" into Task Scheduler.

A guide on how to import tasks can be found here or elsewhere online.

  1. Return to the "Installer" directory.

  2. Right-click "(Step 2) Installer" and click "Run as administrator" from the context menu.

  3. Press any key to continue . . .

Post-Installation

  1. Navigate back to your Downloads folder and delete "OCR_1.0.1" and "OCR_1.0.1.zip"

  2. Tell your friends about this script :D Spread the word!

  3. Upon the next reboot, the script will become active.

License

Boost Software License - Version 1.0 - see LICENSE

open-chocolatey-reducer's People

Contributors

pixelpickaxe avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

commandovmgit

open-chocolatey-reducer's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.