Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

I can't empty my trash

I've upgraded to Lion and for the most part I love it. However, I can't empty (for force-empty) my trash. When I select 'empty trash' I get the progress bar to say that the trash is being emptied, but nothing happens. I've left it for hours. Relaunched Finder, restrarted my Mac etc. I'm not short of HD space.

MacBook Pro

Posted on Jul 29, 2011 2:28 AM

Reply
27 replies

Oct 16, 2011 9:23 PM in response to Mad Pierre

I'm having the same problem.

Empty trash function is not working.

Secure empty trash isn't working.


When I try the terminal approach, this is what it says:


dhcp-218-15:~ ChanderRamesh$ sudo rm -rf~/.Trash

Password:

rm: illegal option -- ~

usage: rm [-f | -i] [-dPRrvW] file ...

unlink file


don't know why it's an illegal option to use rm =( Please and thank you.



EDIT: Problem resolved. Thanks

Oct 25, 2011 7:40 PM in response to Mad Pierre

I'm having the same problem and the sudo command works, however, when I need to empty the trash again I have to do that everytime. Not exactly convenient. I only started seeing this in Lion. I want to resolve the problem so I can empty the trash normally. Any other ideas? Seems like there is an old pref file or .plist that is causing this to happen. Something with permissions maybe? Any help would be appreciated. Thanks.

Oct 25, 2011 8:53 PM in response to batmanlax

Interesting thing I have noticed the same behaviour with the trash bin after I have upgraded to Lion. It takes forever to empty the trash-bin and sometimes only the described procedure in terminal helps. Like I have said it is only in Lion. Now what I have also noticed is that the problems with empty trash bin are occuring when I deal with new large files e.g. video conversion an these files are stored on my internal drive that. Th eother thing is

that I have enabled Time Machine. Backups are perfromed on an external drive and that external drive is nor

always attached. What many of us may not know is that even the Time Machine back-up disks are not attached Time Machine performs a hourly back-up on the internal drive in a hidden section. This is a new function and implemented since Lion. After I have switched off Time Machine I have never experiencedd the problems with Trash Bin. So I have switch off Time Machine when my external driv is not attached. After I attach the my Time Machine back-up drive I switch on Time Machine and the nackup is done. The again switch off Time machine. I know that this is not the most elegant way but it solves some problems, the empty Trash Bin problem and also it helps saving space on the internal drive

Oct 26, 2011 12:25 PM in response to batmanlax

The user luabad helped me resole my problem in another thread. Try this... Rename your trash bin folder to .Trash (capital "T") if it is lower case and viola. Worked me me when nothing else would.


Open Terminal...

Go to your home folder if you are not there... ( cd ~ )

List your files and folders... ( ls -la )

Check if you have .trash or .Trash ...

Rename it, if you have .trash... ( mv .trash .Trash )


Good luck 🙂

Dec 14, 2011 5:36 AM in response to Mad Pierre

Via trial and error: After dragging a bunch of files out of Trash to my desktop...using the terminal command did not do it for my issue...I isolated the offending file. I deleted everything else. (I'd repeatedly had to use "force quit" to relaunch Finder as Empty Trash continued hanging forever until I isolated the offender.) I pulled the last of the files onto my desktop. In it was a folder containing the name :_MACOSX I dragged it to desktop, changed the name to "crap" (use whatever you want, as long as you remove the macosx name) and trashed it again. Hit empty trash and voila it's gone and Trash is empty

Apr 1, 2013 10:29 AM in response to macjack

Worked for me!

macjack wrote:


Go to /Applications /Utilities/Terminal and launch it.

At the prompt, copy and paste this command

sudo rm -rf ~/.Trash

Press Return.

You will be asked to enter your admin password. It will be invisible.

Enter it and press Return.

Log out and back in or restart.


If this doesn't work, then the files in the Trash are from another connected volume. Boot from that volume and empty its trash.

Good job macjack. My problem was due to the files in the trash having been from my timecapsule. I was getting a progress bar of it counting up to 300,000 odd files to delete and then watched it go backwards to zero and beyond into negative numbers!! Eventually I stopped the process (wouldn't let me restart), did the sudo command and restarted = trash can empty.

I can't empty my trash

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.