Python cleanup script for macOS
Project description
mac-cleanup-py
🧹 Python cleanup script for macOS
mac-cleanup-py is a powerful cleanup script for macOS.
This project is a rewrite of the original mac-cleanup-sh rewritten in Python.
🚀 Features
mac-cleanup-py helps you:
- Empty Trash
- Delete unnecessary logs & files
- Clear 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 Cachepnpm
- Cleanup pnpm 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
📥 Installation
Using Homebrew
brew tap mac-cleanup/mac-cleanup-py
brew install mac-cleanup-py
Using pip
pip3 install mac-cleanup
🗑️ Uninstallation
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] [-n] [-u] [-c] [-p]
A Mac Cleanup Utility in Python
3.0.4
https://github.com/mac-cleanup/mac-cleanup-py
options:
-h, --help show this help message and exit
-n, --dry-run Dry run without deleting stuff
-u, --update Update HomeBrew on cleanup
-c, --configure Configure default and custom modules
-p, --custom-path Specify path for custom modules
🌟 Contributing
Contributions are always welcome!
If you have any ideas, suggestions, or bug reports, feel free to submit an issue or open a pull request.
📝 License
This project is licensed under the Apache-2.0 License.
👏 Acknowledgements
This project is developed using tools provided by the JetBrains OSS Development Program.
Find out more about their program and how they support open source here.
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-3.0.4.tar.gz
(22.6 kB
view hashes)
Built Distribution
Close
Hashes for mac_cleanup-3.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f92d6fa7f389bb09d6d4fff0c6a5d3664c2d208bfcef621b4e92f85c3d83cea |
|
MD5 | 0162a845bdedb063464f44c21b467021 |
|
BLAKE2b-256 | cbca46e5d83fdcb4cd958396d79ead82ddaae65a6716fd78d435bf5f062da3c7 |