Skip to content

Yucheng0208/macOS-Cleanup-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

mac-cleanup-scripts

A simple and safe macOS cache and log cleaner script.
Keep your Mac clean and efficient with one command.

πŸš€ Features

  • Clean system cache
  • Remove application logs
  • Clear Xcode DerivedData (if exists)
  • Clean browser caches (Chrome, Brave, Edge, and Safari)
  • Empty the trash bin
  • Clear QuickLook thumbnail cache

πŸ“„ Usage

  1. Clone the repository:
git clone https://github.com/your-username/mac-cleanup-scripts.git
cd mac-cleanup-scripts
  1. Give execution permission:
chmod +x clean_cache.sh
  1. Run the script:
./clean_cache.sh

Warning

This script will delete the cache and temporary files only. No application or system files will be affected. However, some apps may rebuild the cache when reopened, slowing down the first launch.

License

This open-source project is licensed under the MIT License.

About

A cache cleaning tool for macOS.

Topics

Resources

License

Stars

Watchers

Forks

Languages