path-cleaner

Crates.iopath-cleaner
lib.rspath-cleaner
version0.1.0
sourcesrc
created_at2024-04-19 11:44:06.587377
updated_at2024-04-19 11:44:06.587377
descriptionA CLI program for cleaning up your windows path
homepage
repository
max_upload_size
id1213593
size22,483
Bennett (bennett-sh)

documentation

README

🧹 Path Cleaner

If you've been using your PC for a few years, you've probably encountered a cluttered PATH variable with entries from uninstalled programs or outdated entries from program updates. Path Cleaner is a simple tool designed to help you quickly filter out duplicate and non-existent path entries.

πŸƒβ€β™‚οΈ Usage

  • Open/run path-cleaner.exe or put it into PATH and run path-cleaner in your terminal of choice.
  • Choose the scope (*requires admin privileges)
    • User -> cleans the current users PATH variable
    • System* -> cleans the global PATH variable
    • Both* -> cleans both the global & the current users PATH variable
  • That's itπŸ™Œ

πŸ€” What it does

Path Cleaner removes the following items from the requested scope:

  • Non-existant paths
  • Duplictes This process supports variable expansion (e.g. %WINDIR%->C:\Windows).

πŸ“ To-Do

  • Prefer path entries with more environment variables over constants

πŸ«‚ Feel free to contribute

Commit count: 0

cargo fmt