Empty Trash Through Terminal

I have some old empty folders in my trashcan that I cannot delete. I have tried going to the terminal and typing:


rm -rf ~/.Trash/*


But it then gives me a "Permission denied". I am a Terminal novice, and barely that. I'm not sure if this is tied to Mavericks and how I now have to put in a admin password when dragging things to the trash. Very annoying, I would love to shut that off.

8-Core MacPro, Mac OS X (10.7.2)

Posted on Nov 8, 2013 8:01 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 8, 2013 8:05 AM

Copy and paste the following into Terminal:


sudo rm -rf ~/.Trash/*

17 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Empty Trash Through Terminal

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