Sometimes it happens that the Finder just doesn't want to empty the trash anymore and says "The operation cannot be completed because the item "" is in use.". That's a good warning if it is true, but sometimes you want to get rid of an application and this warning appears even though the only thing running is the Finder. Usually after a restart you can delete it. But that is very time consuming and even then, it is sometimes still stuck not wanting to be deleted. There is a risky command that can be used in the Terminal that will empty the trash no matter what. Risky because a simple error in the syntax could erase a lot of stuff that you want to keep.
There is a much easier and quicker way of forcing the Finder to empty the trash no matter what! It is done in the freeware customization and maintenance application
OnyX (download @
http://www.titanium.free.fr/pgs/english.html ). Once you loaded OnyX and entered your administrator password, choose "Cleaning" in the top bar. Click on the "Trash" tab. You can now choose whether you want to "Delete" or to "Securely Delete" (by overwriting) and click Execute. That's it, it will force the Finder to empty the trash even if the files are in use!
Also look at these links.
You can't empty the Trash or move a file to the Trash in Mac OS X
http://docs.info.apple.com/article.html?artnum=106272
Solving Trash Problems
http://www.thexlab.com/faqs/trash.html
How To Fix Stubborn Trash and Why it Won't Delete
http://www.osxfaq.com/Tutorials/LearningCenter/HowTo/Trash/index.ws
Download
DropNuke from:
http://www.versiontracker.com/dyn/moreinfo/macosx/12664
Cheers, Tom 😉