Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

saladrax350

macrumors newbie
Original poster
Aug 10, 2006
5
0
Hi all thanks in advance!

I have this annoying problem in which i have this seeming empty folder in my trash that just doesn't go away. everytime i empty my trash everything seems fine but it's still there. it's kind of hard to explain and it's a bit weird and annoying. does anyone know what's going on? thanks a lot!
 
thanks a lot for replying, umm yeah i've restarted and shut down... it's still there -___-
 
Okay, open Terminal in the Utilities folder and type the following. Note that there is a space at the end.


Code:
sudo rm -rf


Then drag the item from the Trash to the Terminal window and press RETURN. :)
 
Don't type that command !!!

That's not very funny "Mad Jew" :mad:

The rm command used with those options will delete everything below the current directory, even if it is write-protected.

Unless he knows what he's doing, he will erase everything in his home directory.

Check http://www.computerhope.com/unix/urm.htm on how to use rm.

Did you delete anything on an usb stick but forgot to empty the trash before you removed it ?
 
Good point mate. I wasn't trying to be funny but I should have placed a bigger warning upon it. If the code I wrote is pasted into terminal (with the SPACE added because the forum software won't let me end in a SPACE) and the item is dragged from the Trash to the Terminal window, it will be deleted but I can't see how the Home folder is related to that.

Nevertheless, I stand by my original question. What is the name of the file/folder stuck in the Trash?
 
Good point mate. I wasn't trying to be funny but I should have placed a bigger warning upon it. If the code I wrote is pasted into terminal (with the SPACE added because the forum software won't let me end in a SPACE) and the item is dragged from the Trash to the Terminal window, it will be deleted but I can't see how the Home folder is related to that.

OK, *now* I understand - by dragging the item FROM the trash TO the terminal window the name of the item will be written there. By typing the command before it you will only delete the item.

Okaaayyyyyyyy - neat trick.

As for the home folder, if he didn't read your instructions correctly (and I didn't at first) and he is newb, he would probably type everything in the terminal window, fail in dragging the file over to it and then press enter. Since the terminal opens up by default in your home folder... poof!
 
As for the home folder, if he didn't read your instructions correctly (and I didn't at first) and he is newb, he would probably type everything in the terminal window, fail in dragging the file over to it and then press enter. Since the terminal opens up by default in your home folder... poof!

Not really. The rm command wouldn't delete anything because it wasn't told to delete anything. You're thinking of

 
thanks a lot everyone, i fixed the problem, turned out it was an issue with my external HD. Thanks again!
 
Will this work for files with little padlocks on? My dad sent me some holiday photos, and half of them have padlocks on the file icon, now they remain in the trash and will not leave, ever!
 
Yep, it should work for anything. That's half the reason people are so worried about using it. It's easy to ditch stuff that you might not want to ditch. :eek:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.