Force empty the trash when getting the “File is in Use” error on OS X.

Probably one of the few really, really, REALLY annoying things about using OS X is when you try to empty your trash and you get greeted by that nice little popup that says something along the lines of “Hey! We can’t delete this file, you’ve got it open somewhere!” even though you are 105% sure you don’t have it open at all and you just want the file to disappear from your hard disks.

While it is an annoying little issue it is actually fairly simple to fix, in the terminal you can quickly kill a file even if some random program is still telling OS X it’s using it. You can safely do this, 99.9% of the time it won’t cause any of your apps to freak out or anything.

To do this navigate to your Spotlight and search for Terminal (or just, open terminal if you know how otherwise):

Screen Shot 2013 02 10 at 3.45.57 PM Force empty the trash when getting the File is in Use error on OS X.

You’ll get a nice little nerdy window that looks like this:

Screen Shot 2013 02 10 at 3.46.41 PM Force empty the trash when getting the File is in Use error on OS X.

Once inside of the terminal type the following:

rm -rf ~/.Trash/*

Then hit the enter/return key to trigger the command.

annnnd POOF! You should see your trash can magically go empty, without even so much as a prompt. It’s not the most revolutionary of tips but if you’ve been struggling to get a file deleted and OS X was giving you a hard time you’ll find this pretty useful!

Another method you can use if you are an Alfredapp user is to download this extension. That’ll allow you to execute the command I just posted about above by simply typing “Force Empty Trash” in Alfred’s window.

Forwarding Growl Notifications to Notification Center on Mountain Lion.

Update: If you buy the latest Growl from the Mac App store and open the settings, you can forward everything to notification center natively now.

I’ve been using Growl for notifications on my Mac since the very first day that I made the leap to Mac years back. It’s been such an important part of my workflow that I actually get extremely annoyed when it’s not installed on a Mac that I use. Much like AlfredApp I tend to forget it’s not a stock feature. With the release of 10.8 it seems that Apple decided to do the wrong thing by not buying Growl and just ripping it off with their own version in OS X 10.8. As anyone with Growl and 10.8 running will tell you not everything is up to speed with Notification Center–and who knows what will be? Some apps might stay loyal to Growl. Continue reading