https://github.com/azhuge233/sccs
Software Cache Cleaning Script (Windows)
https://github.com/azhuge233/sccs
cachecleaner powershell windows
Last synced: 6 months ago
JSON representation
Software Cache Cleaning Script (Windows)
- Host: GitHub
- URL: https://github.com/azhuge233/sccs
- Owner: azhuge233
- Created: 2021-05-07T21:32:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-17T09:15:09.000Z (12 months ago)
- Last Synced: 2025-03-17T11:18:57.149Z (10 months ago)
- Topics: cachecleaner, powershell, windows
- Language: PowerShell
- Homepage:
- Size: 54.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SCCS
Software Cache Cleaning Scripts (Windows)
`Clean.ps1` just a file delete powershell script, you can add your own rules in path.json to let it delete files for you.
`path.json` format definition:
```json
[
// list of different apps
{
"Name": "App name 1",
"Entries": [
// list of this app's file directories
{
"Filters": [
// list of filename filters
// add different file prefix or suffix here
"*.log", "log_*.txt"
],
"Path": "$($Env:USERPROFILE)\\AppData\\Roaming\\some directory\\logs"
},
{
"Filters": [], // can be left empty
"Path": "$($Env:USERPROFILE)\\AppData\\Roaming\\some other directory\\logs"
},
// ...
]
},
{
"Name": "App name 2",
"Entries": [
// ...
]
},
// ...
]
```