How do i remove 'zero kb' files/folders from trash?

I attached an external 500GB USB hard drive with USB. I now show files/folders in trash that I cannot get rid of by deleting or emptying trash. They are 'zero kb' size.

MacBook Pro, Mac OS X (10.6.8)

Posted on Jan 25, 2013 8:15 AM

Reply
4 replies

Jan 25, 2013 11:12 AM in response to seventy one

If you still have the original you were copying over on the internal of the Mac--you don't want to do this unless you do--and what your were copying over resides now in the Mac's Trash, then copy/paste only the following into Terminal in Utilities, which will nuke the Mac's Trash. A typo can be disastrous, so only copy/paste. sudo rm -rf ~/.Trash Hit return and you will be prompted for your admin password, which won't be displayed in any form. You will also get a scary warning about using the sudo prefix. Hit return again and the entire Trash of the Mac, including the Trash folder, will be nuked. It will take some time to empty the 40GB, so wait until you get a new $ sign prompt, which will indicate it's finished. When you do just close the window. To restore the Mac's trash folder, not the contents, just log out and back in.

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.

How do i remove 'zero kb' files/folders from trash?

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