Display the disk space used by the trash

Mar 26, '02 12:53:21AM

Contributed by: Anonymous

I saw on a forum someone complaining that when emptying the trash it doesn't tell you how much disk space it takes up. I think this should do the trick if you really want to know. Open up a Term window and type:

 % cd ~/.Trash
% du -s
My trash was 4931400 bytes; about time I emptied!

[Editor's note: You can accomplish the same result without using the terminal. Select Go -> Go to Folder (or command-tilde) in the Finder and enter ~/.Trash. You'll now see a semi-transparent '.Trash' folder in your main Finder window. Click on it and do Show Info (command-I) and you should see how much stuff is in the trash.]

Comments (6)


Mac OS X Hints
http://hints.macworld.com/article.php?story=2002032600532134