Mac Cleaner
A script to clean your Mac and analyze disk space.
Installation
From RubyGems
gem install mac_cleaner
From the .gem file
gem install ./mac_cleaner-1.2.2.gem
From the git repository
git clone https://github.com/ojisanchamchi/mac_cleaner.git
cd mac_cleaner
rake install
Usage
Clean up your Mac
mac_cleaner clean
Options
-
--dry-run,-n: Perform a dry run without deleting files. -
--sudo: Run with sudo for system-level cleanup. -
--interactive,-i: Review each section and choose what to clean before anything runs.
Check the current version
mac_cleaner --version
Analyze disk space
mac_cleaner analyze [PATH]
Arguments
-
PATH: The path to analyze. Defaults to~.
