MacOS-Maid

by jgamblin

jgamblin / MacOS-Maid

Shell Script I Use To Automatically Clean Up My Mac.

215 Stars 40 Forks Last release: Not found MIT License 15 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.