Python cleanup script for macOS
Project description
mac-cleanup-py
👨💻 Python cleanup script for macOS
mac-cleanup-sh rewritten in Python
What does script do?
- Cleans Trash
- Deletes unnecessary logs & files
- Removes cache
Default modules
adobe
- Clears Adobe cache filesandroid
- Clears Android cachesbrew
- Clears Homebrew cachecacher
- Clears Cacher logschrome
- Clears Google Chrome cachecomposer
- Clears composer cachedns_cache
- Clears DNS cachedocker
- Cleanup dangling Docker Images and stopped containersdropbox
- Clears Dropbox cachegem
- Cleanup any old versions of Gemsgo
- Clears Go cachegoogle_drive
- Clears Google Drive cachesgradle
- Clears Gradle cachesinactive_memory
- Purge Inactive Memoryios_apps
- Cleanup iOS Applicationsios_backups
- Removes iOS Device Backupsjava_cache
- Removes Java head dumps from home directoryjetbrains
- Removes logs from PhpStorm, PyCharm etckite
- Deletes Kite logslunarclient
- Removes Lunar Client logs and cachemicrosoft_teams
- Remove Microsoft Teams logs and cacheminecraft
- Remove Minecraft logs and cachenpm
- Cleanup npm Cachepod
- Cleanup CocoaPods Cache Filespoetry
- Clears Poetry cachepyenv
- Cleanup Pyenv-VirtualEnv Cachesteam
- Remove Steam logs and cachesystem_caches
- Clear System cachesystem_log
- Clear System Log Filestrash
- Empty the Trash on All Mounted Volumes and the Main HDDwget_logs
- Remove Wget logs and hostsxcode
- Cleanup Xcode Derived Data and Archivesxcode_simulators
- Reset iOS simulatorsyarn
- Cleanup yarn Cache
Install Automatically
Using homebrew
brew tap mac-cleanup/mac-cleanup-py
brew install mac-cleanup-py
Using pip
pip3 install mac-cleanup
Uninstall
Using homebrew
brew uninstall mac-cleanup-py
brew untap mac-cleanup/mac-cleanup-py
Using pip
pip3 uninstall mac-cleanup
Usage Options
Help menu:
$ mac-cleanup -h
usage: mac-cleanup [-h] [-d] [-u] [-c] [-m]
A Mac Cleanup Utility in Python
v2.2.5
https://github.com/mac-cleanup/mac-cleanup-py
optional arguments:
-h, --help show this help message and exit
-d, --dry-run Shows approx space to be cleaned
-u, --update Script will update brew while cleaning
-c, --configure Launch modules configuration
-m, --modules Specify custom modules' path
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mac_cleanup-2.2.5.tar.gz
(17.5 kB
view hashes)
Built Distribution
Close
Hashes for mac_cleanup-2.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 073cc5c1cb1b51209c2a0f37a9d26376af523b1a908bfe10ade13ecc08b0029e |
|
MD5 | d4831ced87cf35627e4590e641b16d68 |
|
BLAKE2b-256 | 11710422b9f92832ef5b925c0f24fcf054e8fadc46725279786a83feb20093d4 |