Home

Awesome

mac-cleanup-py

PyPI Tests CodeQL JetBrains

๐Ÿงน 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:

  1. Empty Trash
  2. Delete unnecessary logs & files
  3. Clear cache

mac-cleanup-demo

<details> <summary> ๐Ÿ“ฆ Default Modules </summary> </br> </details>

๐Ÿ“ฅ 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.

<a href="https://www.jetbrains.com"> <img src="https://resources.jetbrains.com/storage/products/company/brand/logos/jb_square.svg" alt="JetBrains" width="80"> </a>