Mac cleanup

#user cache file
echo "cleaning user cache file from ~/Library/Caches"
rm -rf ~/Library/Caches/*
echo "done cleaning from ~/Library/Caches"
#user logs
echo "cleaning user log file from ~/Library/logs"
rm -rf ~/Library/logs/*
echo "done cleaning from ~/Library/logs"
#user preference log
echo "cleaning user preference logs"
#rm -rf ~/Library/Preferences/*
echo "done cleaning from /Library/Preferences"
#system caches
echo "cleaning system caches"
sudo rm -rf /Library/Caches/*
echo "done cleaning system cache"
#system logs
echo "cleaning system logs from /Library/logs"
sudo rm -rf /Library/logs/*
echo "done cleaning from /Library/logs"
echo "cleaning system logs from /var/log"
sudo rm -rf /var/log/*
echo "done cleaning from /var/log"
echo "cleaning from /private/var/folders"
sudo rm -rf /private/var/folders/*
echo "done cleaning from /private/var/folders"
#ios photo caches
echo "cleaning ios photo caches"
rm -rf ~/Pictures/iPhoto\ Library/iPod\ Photo\ Cache/*
echo "done cleaning from ~/Pictures/iPhoto Library/iPod Photo Cache"
#application caches
echo "cleaning application caches"
for x in $(ls ~/Library/Containers/) 
do 
    echo "cleaning ~/Library/Containers/$x/Data/Library/Caches/"
    rm -rf ~/Library/Containers/$x/Data/Library/Caches/*
    echo "done cleaning ~/Library/Containers/$x/Data/Library/Caches"
done
echo "done cleaning for application caches"

40 thoughts on “Mac cleanup”

  1. Pingback: ragnarok servers
  2. Pingback: wix seo experts
  3. Pingback: live sex shows
  4. Pingback: cheap webcam girls
  5. Pingback: webcam sex
  6. Pingback: webcam sex
  7. Pingback: free video chat
  8. Pingback: free video chat
  9. Pingback: sex chat
  10. Pingback: amateur webcams
  11. Pingback: live webcam sex
  12. Pingback: live nude chat
  13. Pingback: free sex cams
  14. Pingback: live video chat
  15. Pingback: video chat
  16. Pingback: free cam sex
  17. Pingback: cheap nude chat
  18. Pingback: sex shows
  19. Pingback: rebirthro
  20. Pingback: zuhr time today
  21. Pingback: epoch time to date
  22. Pingback: cron job scheduler
  23. Pingback: world clock
  24. Pingback: utc clock
  25. Pingback: kooky

Comments are closed.