Wednesday 27 February 2008

Clearing space on a Mac OSX machine

Firstly you might want to check what's using all your space using Disk Inventory X. Then there are quite a few articles (here, here, here) out there describing how to make space by deleting various wierd files. I'm just making a list here ones that I found made a difference (just run sudo rm -rf with dirs below - you can check how much they're taking using df -sk ) - though don't blame me if they bomb your system!
  • ~/Library/Caches/* - Not sure about * but these are ones I've tried:
    • ~/Library/Caches/com.apple.SoftwareUpdate/*
    • ~/Library/Caches/Desktop/*
    • ~/Library/Caches/QuickTime/*
  • /Library/Packages/*
  • /Library/Caches/* - Not sure about * but these are ones I've tried:
    • /Library/Caches/com.apple.SoftwareUpdate/
  • /System/Library/Caches/*
  • /private/var/root/Library/Caches/*
  • /cores/*
If you're running macports then there also these locations:
  • /opt/local/var/macports/build/
  • /opt/local/var/macports/distfiles
[updated 1 May 09]

No comments:

Post a Comment