This bash script was primarily built to clean up the chunks of files that has been clogging your Mac's memory.
Its an interactive script which requires root access.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/beingfranklin/Clean-Your-Mac/master/script.sh)"
All contributions are welcome.
You can get it up and running locally by doing the following. Locate the folder which contains the script and Run the following command in terminal in that folder.
sh script.sh
This script was primarily developed based on the stackoverflow posts.
- For root access- interactive script [1]
- OSX Shell Script: deleting all desktop files - [2]
- Mac shell script to delete files - [3]
- and this github project.
Please do make a PR if you can add anything into this project.