A simple script to clean some junk. Still working on it!
First of all, make sure to made the script executable by giving:
sudo chmod +x cleaner.sh
Now you're ready to execute with:
./cleaner.sh
Important note
Don't execute the script as root or it will try to delete root user cache, not yours.
This is the path the script will search folders to delete in ~/Library/Caches
.
Once done, you will still see the folder's structure, but everything inside will be deleted. This is the safest way to proceed. System Caches will not be affected in any way.
Maybe other feature other than user's cache clearing will be added in future. Still thinking about something useful! :)
- Create menu for script
- Clear user log in ~/Library/Log