How to perform cleanup duties on OS X?

Solution 1:

Also, OnyX seems to be the popular choice for those looking for a Mac equivalent to CCleaner. http://www.macupdate.com/app/mac/11582/onyx

Solution 2:

Alex.. please be careful. OS X generally doesn't need maintenance like most Windows installations do. If you just leave it, it will be fine. The only thing I sometimes tell clients who I'm tutoring, is that the maintenance scripts run themselves by default at 3AM. They're not doing anything too serious, log rotations and the like. So if they don't run, I don't think it's the end of the world. But once in a while you may want to leave the computer on all night so they get done.

Solution 3:

There was a not immediately relevant question posted a while ago that actually has answers I think you would be interested in. I answered with my regular maintenance routine (Why is my Macbook Pro getting so slow?). The relevant portion of my answer:

Apple Certified Technicians are your friends: Third-party system maintenance software is not. I've been working with Macs for years and the one immutable fact that I have learned is that applications designed to help maintain the system are more trouble than they are worth. When all else fails, take it in because there may be a hardware problem at this point.

I put my Macs through the wringer every day and I very rarely have problems since I implemented my maintenance routine. Third-party software is not necessary, if not a waste of money.

Solution 4:

Every once in a while (every 6 - 12 months, or if things start acting weird), check your disk with /Applications/Utilities/DiskUtility.app

Select your hard disk in the left sidebar, then the "Verify Disk" button at the bottom right. If everything is OK, good. If not:

  1. Reboot
  2. Hold CMD+S at the Chime to boot into Single User Mode
  3. Run /sbin/fsck -fy # this should fix everything
  4. Type "reboot".