Giter VIP home page Giter VIP logo

mac-cleanup-sh's Introduction

mac-cleanup

A cleanup script for macOS that runs the following tasks:

  • Empty the Trash on All Mounted Volumes and the Main HDD
  • Clear System Log Files
  • Clear Adobe Cache Files
  • Cleanup iOS Applications
  • Remove iOS Device Backups
  • Cleanup Xcode Derived Data and Archives
  • Reset iOS simulators
  • Cleanup Homebrew Cache
  • Cleanup Any Old Versions of Gems
  • Cleanup Dangling Docker Images
  • Purge Inactive Memory
  • Cleanup pip cache
  • Cleanup Pyenv-VirtualEnv Cache
  • Cleanup npm Cache
  • Cleanup Yarn Cache
  • Cleanup Docker Images and Stopped Containers
  • Cleanup CocoaPods Cache Files
  • Cleanup composer cache
  • Cleanup Dropbox cache
  • Remove PhpStorm logs
  • Remove Minecraft logs and cache
  • Remove Steam logs and cache
  • Remove Lunar Client logs and cache
  • Remove Microsoft Teams logs and cache
  • Remove Wget logs and hosts
  • Clear Bash/ZSH history
  • Removes Cacher logs
  • Deletes Android caches
  • Clears Gradle caches
  • Deletes Kite logs

Install Automatically

Using homebrew

brew tap fwartner/tap
brew install fwartner/tap/mac-cleanup

Using curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/fwartner/mac-cleanup/main/installer.sh)"

Using wget

sh -c "$(wget https://raw.githubusercontent.com/fwartner/mac-cleanup/main/installer.sh -O -)"

Step by Step Install

  1. Download: curl -o cleanup https://raw.githubusercontent.com/fwartner/mac-cleanup/main/mac-cleanup
  2. Make it executable: chmod +x cleanup
  3. Move to make it globally usable: sudo mv cleanup /usr/local/bin/cleanup

Note:

If installing with curl you need to call cleanup instead of mac-cleanup.

Update

curl -fsSL "https://raw.githubusercontent.com/fwartner/mac-cleanup/main/installer.sh" | bash -s update

Uninstall

curl -fsSL "https://raw.githubusercontent.com/fwartner/mac-cleanup/main/installer.sh" | bash -s uninstall

Usage Options

Help menu:

$ mac-cleanup -h

A Mac Cleanup Utility by fwartner
https://github.com/fwartner/mac-cleanup

USAGE:
 mac-cleanup [FLAGS]

FLAGS:
-h,   prints help menu
-n    no brew updates

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

If you like what I am doing please consider sponsor my work!

mac-cleanup-sh's People

Contributors

abraaolevi avatar achillesrasquinha avatar astroorbis avatar catalinprata avatar cerw avatar dafyk avatar daviscabral avatar elionaz avatar flags8192 avatar fwartner avatar github-actions[bot] avatar gummibeer avatar jrodan avatar kislow avatar kjnsn avatar luutruong avatar marcelaraujo avatar mblumtritt avatar mhetrerajat avatar monkeywithacupcake avatar peterpme avatar phillippohlandt avatar rizkyarlin avatar roylaveto avatar samyanez94 avatar shin-sforzando avatar thefern2 avatar tonydeng avatar vikmeup avatar wplatform avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.