Skip to content
Shell Script I Use To Automatically Clean Up My Mac.
Branch: master
Clone or download
jgamblin Fix ReadMe
Fix ReadMe
Latest commit 194c559 Aug 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes Initial commit Nov 10, 2017
LICENSE Initial commit Nov 10, 2017
README.md Fix ReadMe Aug 28, 2018
maid.sh

README.md

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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.