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

LethalWolfe

macrumors G3
Original poster
Jan 11, 2002
9,370
124
Los Angeles
Everytime I empty the trash I either get a kernal panic or a lock-up that requires a hard reboot. The only thing in the trash can is crappy label making proggie (click and design 3d) that came w/the CD Stomper thingie to help put labels on CDs/DVDs.

What is the terminal command for emptying the trash? Hopefully that will work. And is there anyway to empty part of the trash instead of the whole thing?


Lethal
 
Here is the command for emptying the trash when using the Terminal:
Code:
sudo rm -rf ~/.Trash/
Just be mother F***in careful when typing that command!!!!

If you type 'sudo rm -rf' in the Terminal in the root user mode, you will delete your system folder and loose all your data.
 
musicpyrite said:
Here is the command for emptying the trash when using the Terminal:
Code:
sudo rm -rf ~/.Trash/
Just be mother F***in careful when typing that command!!!!

If you type 'sudo rm -rf' in the Terminal in the root user mode, you will delete your system folder and loose all your data.

It's definitely dangerous enough that you should put it into a script, so that you get it right once and keep it that way.
 
No luck so far. Kernal panics everytime I try to empty the trash (no matter how I try) and when I try to drag the folder out of the trash.

Nuts.


-Lethal
 
LethalWolfe said:
No luck so far. Kernal panics everytime I try to empty the trash (no matter how I try) and when I try to drag the folder out of the trash.

Nuts.


-Lethal

You could try deleting the Trash, and making a new one.

(type the the stuff in the quotes, but don't type the quotes)
1) To delete the Trash ( :rolleyes: ) type 'sudo rmdir .Trash'
2) To create a new Trash, type 'mkdir Trash'
since the original Trash is hidden, you will need to hid it yourself.
3) type this to hide the trash: 'mv -i Trash .Trash'

Of course I don't know if this will work or not, you may just have to reinstall Panther.

You could try a 3rd party app like one of these.

Oh, and you spell kernel panick wrong. :p
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.