Can not empty the trash?

Joined
Sep 18, 2008
Messages
827
Reaction score
14
Points
18
Location
Cairo
Your Mac's Specs
13" 2015 MacBook Pro Retina / 15" 2010 MacBook Pro
Hello guys,

As the title says, I'm trying to empty my trash but everything is still there. Whenever I press empty and then press OK on the pop up, it does the emptying sound and the window closes but everything is still in there. I've been trying that for a week now and failing.

Can someone please help me empty my trash?

Thank you very much.

Tarek
 

Del


Joined
Dec 24, 2006
Messages
901
Reaction score
15
Points
18
Location
N. Ireland
Your Mac's Specs
Mac Pro 2xQuad core 2.8GHZ
Sounds like you may have deleted files from an external drive or cruzer/pen drive, without emptying the trash. Reconnect the drive then try emptying the trash.
 
OP
Tarek
Joined
Sep 18, 2008
Messages
827
Reaction score
14
Points
18
Location
Cairo
Your Mac's Specs
13" 2015 MacBook Pro Retina / 15" 2010 MacBook Pro
I never connected any external or cruzer/pen drives. That's awkward.
 

Del


Joined
Dec 24, 2006
Messages
901
Reaction score
15
Points
18
Location
N. Ireland
Your Mac's Specs
Mac Pro 2xQuad core 2.8GHZ
OK so do a reboot and then with no apps open try to empty the trash, and report back to us
 
S

satrop

Guest
Also, try this.

Hold down the "alt" key click on the trash can, then on "Empty Trash" still holding the alt key and all items in the trash should go!

Let me know if that works.
 
OP
Tarek
Joined
Sep 18, 2008
Messages
827
Reaction score
14
Points
18
Location
Cairo
Your Mac's Specs
13" 2015 MacBook Pro Retina / 15" 2010 MacBook Pro
I've tried both methods but none of them worked.

Thank you for caring to reply!

Any other suggestions?
 
Joined
Oct 22, 2007
Messages
8,967
Reaction score
287
Points
83
Location
London
Your Mac's Specs
Mac Mini Core i7 2012 | White 2009 MacBook 2 Ghz | 733 Mhz G4 Quicksilver
Onyx lets you do a force empty trash
 
Joined
Feb 8, 2009
Messages
3
Reaction score
1
Points
3
I found the solution

I've tried both methods but none of them worked.

Thank you for caring to reply!

Any other suggestions?

I was having same problem.....I tried every thing to delete it..but it was not letting me do....

all i did was....i just drag the files which I wanted to delete and put on my desktop.....and they come with asking password...i put password...and the file just disappeared....I believe that this could be an error in os x..and some hidden file came as a part of trash.....which should not get delete....

so just drag out from trash...and they will just disappear... :D :) :D
 
Joined
Feb 8, 2009
Messages
3
Reaction score
1
Points
3
Finally solved completely

I was having same problem.....I tried every thing to delete it..but it was not letting me do....

all i did was....i just drag the files which I wanted to delete and put on my desktop.....and they come with asking password...i put password...and the file just disappeared....I believe that this could be an error in os x..and some hidden file came as a part of trash.....which should not get delete....

so just drag out from trash...and they will just disappear... :D :) :D

in reality...Even that was also temporary solution...Finally I had to dig harder...than I thought...

this is a complete working solution....published by person named Skorzy :D

Solved the problem! Some more digging around in the discussions here found the solution. I'll paraphrase how I solved my problem here:

Its apparently a file in Windows that uses unallowed file names. The only way to fix this is through Windows "chkdsk" utility.

1. Boot into Windows
2. Click on "My Computer"
3. Get "Properties" on your C: drive
4. Click "Tools"
5. Click "Error-Checking" and enable the box for "Automatically fix errors"
6. Click apply.. and Windows will need to re-boot and "schedule" a disk-check on next reboot. Be sure to hold down your "Option" key during reboot (if you are running your Windows through Boot Camp). Re-boot into Windows
7. Disk Check will automatically run and you'll see an error in ".\.Trashes\501" It will automatically fix this.
8. When its all done, Windows will automatically reboot normally.
9. Reboot back into OS X and that strange alias will be gone! :D :) :D
 
Joined
Jan 12, 2009
Messages
1,096
Reaction score
19
Points
38
Location
Prague, Czech Republic
Your Mac's Specs
2,4Ghz 15" unibody
ok I got a bit confused on the above posts :D

if you have a file you can't remove, you can always try from root through the terminal with the "rm" command

the only time I couldn't empty my trash was, as mentioned above, when I deleted something on an external drive which wasn't connected when I emptied
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
depends on the file, there have been instances where you can not remove the file because its name is not reproduceable. In some of these instances a find wouldn't even do it, while removing it from a windows boot would.
 
Joined
Jan 12, 2009
Messages
1,096
Reaction score
19
Points
38
Location
Prague, Czech Republic
Your Mac's Specs
2,4Ghz 15" unibody
I messed around a bit and actually ended up deleting my trash just to see what happens, but it should be simple to delete your files

the trash itself is at ~/.Trash so you can easily cd into there and delete whatever you like, and if you do so as root then you shouldn't have any restrictions and might even be able to delete your mysterious files

so here it goes:
su root
cd .Trash //assuming you are in your home folder, otherwise its /Users/*user*/
rm -r *filename* //this goes for files
rmdir -r *filename* //this for folders

I should also mention, don't fiddle around as root too much :D
and when logging as root you will be in the same dir as before, but here home is not the same as on your regular account (I think its var/root)

EDIT:
one more: "rm -Ri *" will remove everything inside a directory, BUT BE CAREFUL with this one, doesn't sound right !BE CAREFUL WITH THIS ONE! :D
I know people fool around with similar commands, but it just gets you really mad, because by default the rm command is not verbose and will not ask you if you are sure, even then ppl are dumb enough ...
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
you can't recursively delete directories with unreadable filenames dude. Nor can you delete them.

I've even written scripts to try by inode, no dice.
 
Joined
Jan 12, 2009
Messages
1,096
Reaction score
19
Points
38
Location
Prague, Czech Republic
Your Mac's Specs
2,4Ghz 15" unibody
you can't recursively delete directories with unreadable filenames dude. Nor can you delete them.

I've even written scripts to try by inode, no dice.

I apologize
I didn't realize the mentioned files were unreadable, just so far I've been able to sort all my funky files with rm :)

sry for misleading guys :)
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
no, all good thoughts :D
very frustrating, lemme tell ya

non-ascii stuff sucks..
 
Joined
Nov 1, 2009
Messages
886
Reaction score
33
Points
28
Location
DohaLondonVegas
Your Mac's Specs
MacBookPro 11,2 <--DAW!!!
this is a complete working solution....published by person named Skorzy :D

Solved the problem! Some more digging around in the discussions here found the solution. I'll paraphrase how I solved my problem here:

Its apparently a file in Windows that uses unallowed file names. The only way to fix this is through Windows "chkdsk" utility.

1. Boot into Windows
2. Click on "My Computer"
3. Get "Properties" on your C: drive
4. Click "Tools"
5. Click "Error-Checking" and enable the box for "Automatically fix errors"
6. Click apply.. and Windows will need to re-boot and "schedule" a disk-check on next reboot. Be sure to hold down your "Option" key during reboot (if you are running your Windows through Boot Camp). Re-boot into Windows
7. Disk Check will automatically run and you'll see an error in ".\.Trashes\501" It will automatically fix this.
8. When its all done, Windows will automatically reboot normally.
9. Reboot back into OS X and that strange alias will be gone! :D :) :D

My bad for digging up an old post but this tip worked like a charm for me!!!
I had a pesky little program that would not delete at all when I emptied the Trash.

Cheers Skorzy and shahjinan!!! ;D
 
Joined
Nov 30, 2010
Messages
1
Reaction score
0
Points
1
Almost missed the solution...

I have had this issue for over a year even got the IT guy at the office to go into the terminal and tried to delete the files and got nowhere. Finally I was fed up with the 3,000 + items in my trash so I found this thread. I downloaded the Onyx app mentioned in the 4th or 5th response (the app was free and on Apple's site so I trusted it), and it did the trick. Just clicked on Utilities icon then the Trash tab and clicked empty trash and it was done in about 30 seconds. So happy that I signed up for the forums to post! Hope this helps.
 
Joined
Nov 29, 2010
Messages
9
Reaction score
0
Points
1
Your Mac's Specs
MacBook Pro 2009 15" 2.53 GHz 4GB RAM, 10.6.4
Try this:

Press "Secure Empty Trash" while pressing the "option" key

Screen shot 2010-11-30 at 12.45.56 PM.png
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top