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

  • 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…

  • How To Quickly Restore MacBook Air

    The Remote Disk function of MacBook Air works quite well, but not all of us have the external SuperDrive, nor another computer with…

  • Tip of the Week: Hidden Customization

    There are myriad of customization options in Mac OS X—some are in plain sight in System Preferences and elsewhere while others involve manual…

  • Tip of the Week: RAM Disk

    Back in the day, I had a 14” Wallstreet PowerBook and pimped it out with 192MB of RAM. Under the classic Mac OS,…

  • How Do I Quit Apps on iOS 4?

    In iOS 4, and presumably in iOS 5, there is an easy way to completely close any apps that are running on your…