Created
October 22, 2014 06:14
-
-
Save williamchang73/7823bcea66c9aaf0a34b to your computer and use it in GitHub Desktop.
clean up mac cache files
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
echo "clean up start >>>>>>>>>>>>>>>>>>>>>>" | |
clear | |
df -h | |
echo "clean desktop..." | |
rm -rf ~/Desktop/* | |
echo "clean download..." | |
rm -rf ~/Downloads/* | |
echo "clean trashcan..." | |
rm -rf ~/.Trash/* | |
echo "clean user library cache..." | |
rm -rf ~/Library/Caches/* | |
echo "clean system library cache..." | |
rm -rf /System/Library/Caches/* | |
df -h | |
echo "clean up finished====================" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment