Can't empty trash

Nuks

macrumors 6502a
Original poster
Feb 25, 2006
504
0
I try to empty my trash, but it says that there is a still a file (an mp3) in use. I took it out of the trash, then put it back in, only to have the same message appear. I can't find it open anywhere else. but it won't let me delete it.

Any help?
Thanks.
 

rmhop81

macrumors 68020
Apr 4, 2005
2,248
97
Dallas, TX
Nuks said:
I try to empty my trash, but it says that there is a still a file (an mp3) in use. I took it out of the trash, then put it back in, only to have the same message appear. I can't find it open anywhere else. but it won't let me delete it.

Any help?
Thanks.
reboot your computer.....and when it starts back up empty trashcan. That should fix it.
 

Nuks

macrumors 6502a
Original poster
Feb 25, 2006
504
0
rmhop81 said:
reboot your computer.....and when it starts back up empty trashcan. That should fix it.

Yeah, that worked.
Thanks.
 

mad jew

Moderator emeritus
Apr 3, 2004
32,191
5
Adelaide, Australia
Just quickly, if you're feeling game or jsw, you can use Terminal to remove anything.

In a Terminal window, paste the following without pressing RETURN.


Code:
sudo rm -rf

Don't forget the SPACE at the end. Now, drag any file you like from the Finder into this Terminal window and press RETURN. This can be a dangerous method for the basic user though. :eek:
 

jsw

Moderator emeritus
Mar 16, 2004
22,910
41
Andover, MA
mad jew said:
Just quickly, if you're feeling game or jsw, you can use Terminal to remove anything.

In a Terminal window, paste the following without pressing RETURN.


Code:
sudo rm -rf

Don't forget the SPACE at the end. Now, drag any file you like from the Finder into this Terminal window and press RETURN. This can be a dangerous method for the basic user though. :eek:
Note that it'll ask you for an admin password. Verify the command before entering one. A typo here can literally delete all of your files. I would use
Code:
sudo rm -r[b]i[/b]
instead, which will ask you to confirm each one. Painful if there are a lot. Less painful than finding out all your files are gone....
 

fivetoadsloth

macrumors 65816
Aug 15, 2006
1,035
0
mad jew said:
Just quickly, if you're feeling game or jsw, you can use Terminal to remove anything.

In a Terminal window, paste the following without pressing RETURN.


Code:
sudo rm -rf

Don't forget the SPACE at the end. Now, drag any file you like from the Finder into this Terminal window and press RETURN. This can be a dangerous method for the basic user though. :eek:
yeah definatly works effectively though. i have almost stopped suing trash since i saw this a while back
 

iMeowbot

macrumors G3
Aug 30, 2003
8,634
0
Just a note on force-deleting open files: the file still exists after you have deleted it, and it still takes up space on the disk. It won't go away for real until the program that has the file open quits or otherwise closes it.
 

the Western zoo

macrumors 6502
May 16, 2006
377
0
Aarhus C, Denmark
one thing that kindda annoys me about the trash can is that when you reboot (or shut of the mac and turn it back on) there's a recovery file in it with all the files I've deleted since last reboot (or at least that what I think it is...) and I have to delete the same files once more! I would think that deleting them twice - once in finder then again from the trash - would be enough...!

Is there any way to turn this of btw?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.