One of the problems I see coming up over and over again on my Mac is the inability to empty the trash. I like to keep my trash can clean so every time I get 2 or 3 things in the trash I empty it. But, probably 3-4 times per week the trash won’t empty because one of the applications that I was using on some of the files in the trash just won’t let the file go.
So, I have to do something, because I (like the crazy person that I am) can’t stand to have stuff in my trash when I tried to get rid of it. So I resort to a simple little Terminal command to empty the trash no matter what is in it.
rm -rf ~/.Trash/*
Just copy and paste the code above into Terminal and your trash will be emptied immediately without having to see any dialog boxes at all.