Created
February 26, 2021 18:23
-
-
Save grdsdev/b24ff8d4bf59696cb3715d1d1b5db95e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
[ "$UID" -eq 0 ] || exec sudo bash "$0" "$@" | |
rm -rf $HOME/.Trash/* | |
rm -rf $HOME/Library/Developer/Xcode/DerivedData/* | |
rm -rf $HOME/Library/Developer/Xcode/Archives/* | |
rm -rf $HOME/Library/Developer/CoreSimulator/Caches/* | |
rm -rf $HOME/Library/Caches/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment