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 cachebun
- Clears Bun cachecacher
- Clears Cacher logschrome
- Clears Google Chrome cachechromium
- Clears Chromium cache filescomposer
- Clears composer cacheconan
- Clears Conan cachedocker
- Cleanup dangling Docker Images and stopped containersdns_cache
- Clears DNS cachedropbox
- Clears Dropbox cacheea
- Clears EA App cache filesgem
- 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 cacheminecraft
- Remove Minecraft logs and cachemicrosoft_teams
- Remove Microsoft Teams logs and cachenpm
- Cleanup npm Cacheobsidian
- Clears Obsidian cache filesnuget
- Clears .nuget package filespnpm
- 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 Filestelegram
- Clear old Telegram Cachetrash
- 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] [-f]
Python cleanup script for macOS
Version: 3.1.2
https://github.com/mac-cleanup/mac-cleanup-py
options:
-h, --help show this help message and exit
-n, --dry-run Run without deleting stuff
-u, --update Update Homebrew on cleanup
-c, --configure Open module configuration screen
-p, --custom-path Specify path for custom modules
-f, --force Accept all warnings
🌟 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
Built Distribution
File details
Details for the file mac_cleanup-3.1.2.tar.gz
.
File metadata
- Download URL: mac_cleanup-3.1.2.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 120219d286d9e628dedf287ebdc762d0fbb819fbc89af6a391816c479fe4d3c4 |
|
MD5 | d644467c57658d39fb30c1128475fcb7 |
|
BLAKE2b-256 | 2235ff461fc099469427d37dc97dc57dc13044e9028f098022f47d3b97df4d6a |
File details
Details for the file mac_cleanup-3.1.2-py3-none-any.whl
.
File metadata
- Download URL: mac_cleanup-3.1.2-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/23.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0cf15758e77b80f66689655454bb963f80650c0fedf9f9c22135930fe0a7f7a |
|
MD5 | 4300c20d6fa42d5ec1391c30b35a9617 |
|
BLAKE2b-256 | 3b1d3a2a9262d84254ce5edaae1696ffa31348edfb33f9f9aac719fe0d815d1f |