Empty Trash With Terminal

The other day, I had a customer come into the store who was having issues emptying her trash. We tried all the normal prompts, did PRAM resets, and nothing would work.

Using Terminal, there is a quick and easy way to empty the trash if you ever hit hangups while doing so. Just navigate to the Terminal app, open it up and enter the following:

sudo rm -rf ~/.Trash/*

Since this command uses sudo, you will be required to enter your password at this point. After that, you’ll see that your Trash can icon is satisfyingly empty — and you’ll have your hard drive space back.

As always, operate Terminal with care, as you can damage system folders if you enter the prompts incorrectly.

Similar Posts

  • Screen Sharing in OS X

    Many of us who have Leopard and Snow Leopard have already played around with the great screen sharing capabilities. In both Leopard and…

  • Tip of the Week: Unlearn Words

    We all type words from time to time that spell check doesn’t recognize. Did you know that you can teach spell check words…

  • Mac New Year's Resolutions

    With only hours left in 2010, it is high time to consider your New Year’s resolutions if you haven’t already. While you’re at…

  • Speeding Up Time Machine

    Time Machine made a backer-upper out of me. For far too long I’d relied on my iDisk to back up important documents, but…

  • Bad Sync, Good Sync

    Earlier this week I had a near-catastrophic issue with Mac OS X Mail on my work computer (a pretty sweet 24-inch 2.8GHz iMac…