https://github.com/jgamblin/macos-maid
Shell Script I Use To Automatically Clean Up My Mac.
https://github.com/jgamblin/macos-maid
macos osx
Last synced: about 1 year ago
JSON representation
Shell Script I Use To Automatically Clean Up My Mac.
- Host: GitHub
- URL: https://github.com/jgamblin/macos-maid
- Owner: jgamblin
- License: mit
- Created: 2017-11-10T18:56:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-28T13:17:11.000Z (over 7 years ago)
- Last Synced: 2025-03-03T23:49:26.195Z (about 1 year ago)
- Topics: macos, osx
- Language: Shell
- Homepage:
- Size: 8.79 KB
- Stars: 263
- Watchers: 7
- Forks: 44
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MacOS Maid
A simple shell script I run to keep my MacBook clean and patched.
## What It Does:
- Prompt For Password If Not Root
- Deletes Saved Wireless Networks
- Installs Needed System Updates
- Empties The Trash
- Deletes All System Logs
- Deletes The QuickLook files
- Updates And Cleans Homebrew
- Cleans Ruby
- Removes All Docker Containers
- Purges Memory
- Removes known_hosts file.
- Securely Wipes Free-space
## Usage:
- Review for your preferences and comment out options **You** dont want.
- Set `homessid` and `workssid` variable to stop from deleting those!
**To Run:**
```
chmod +x maid.sh
./maid.sh
```
## Important Notice
I likely dont know what I am doing and this could be done faster, better and simpler some other way. These scripts could also break your MacBook and make you cry.