Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanmaynard/powerworshin
When you need something done about all those empty folders on your drive, let ole Uncle Terry pop in a zyn and get ta cleanin'
https://github.com/ryanmaynard/powerworshin
cleanup-script powershell utility windows
Last synced: 21 days ago
JSON representation
When you need something done about all those empty folders on your drive, let ole Uncle Terry pop in a zyn and get ta cleanin'
- Host: GitHub
- URL: https://github.com/ryanmaynard/powerworshin
- Owner: ryanmaynard
- License: mit
- Created: 2024-08-10T21:38:48.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-10T21:53:44.000Z (6 months ago)
- Last Synced: 2024-11-21T17:06:52.400Z (3 months ago)
- Topics: cleanup-script, powershell, utility, windows
- Language: PowerShell
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π§Ή PowerWorshin πͺ£
#### When you need somethin' done about all them empty folders on your drive, let ole Uncle Terry pop in a zyn and get ta cleanin'
---
### ποΈ What's PowerWorshin all about?
PowerWorshin is a smart PowerShell script that'll clean up those empty folders quicker'n you can say "Raise Hell, Praise Dale". It's like givin' your computer a good once-over: it ain't a deep clean, just a good go at the jewels and pits.
---
### π οΈ How do I get this thing goin'?
1. π₯ First off, grab this script. Download `powerworshin.ps1` and stick it on your computer.
2. π₯οΈ Open up that PowerShell program. It's like Command Prompt but more fancy.
3. πΆββοΈ Use them `cd` commands to get to where you put the script.
4. π¬ Now, let's fire this thing up and see what she does! Here's the basic way to run it:
```powershell
.\powerworshin.ps1 -RootPath "C:\Users\YourName\Documents"
```---
### ποΈ Extra Doohickeys
- π« **Hands Off My Stuff**: Don't want it messin' with certain folders? Use `-ExcludePaths`:
```powershell
.\powerworshin.ps1 -RootPath "C:\Users\YourName\Documents" -ExcludePaths "C:\Users\YourName\Documents\KeepThisOne"
```- π°οΈ **Just the Old Stuff**: Wanna only clean out folders older than last year's Christmas tree? Use `-MinimumAge`:
```powershell
.\powerworshin.ps1 -RootPath "C:\Users\YourName\Documents" -MinimumAge 30
```- π§ͺ **Look-See Without Touchin'**: Wanna see what it'll do without actually doin' it? Use `-DryRun`:
```powershell
.\powerworshin.ps1 -RootPath "C:\Users\YourName\Documents" -DryRun
```- πͺ **Git 'Er Done**: If you're feelin' sure and don't need no askin', use `-Force`:
```powershell
.\powerworshin.ps1 -RootPath "C:\Users\YourName\Documents" -Force
```- π¦ **Save Your Hide**: Want a way to undo if you mess up? Use `-CreateBackup`:
```powershell
.\powerworshin.ps1 -RootPath "C:\Users\YourName\Documents" -CreateBackup
```---
### β οΈ Fair Warnin' to Ya
Now listen, and listen good. This script's more powerful than Mamaw's secret recipe. It'll delete empty folders faster than you can spit. So, make good and sure you know what you're doin' before you let it loose!
1. π§ͺ Always do a `-DryRun` first to see what's gonna get cleaned out.
2. π¦ Use that `-CreateBackup` option if you're even a little bit unsure.
3. π If you don't know what somethin' does, don't use it! Ask for help or read up on it first.---
### π Need a Hand?
If you're more confused than a chameleon in a bag of Skittles, don't you worry none. Just holler at us by openin' an issue right here on GitHub. We're friendlier than a neighbor with a fresh pie, and we'll do our best to help you out!
---
### π Happy Cleanin', Folks!
Now go on and clean them folders! Your computer'll be runnin' smoother than a freshly paved mountain road in no time!