Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'update: Display the size of the trash prior to emptying' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
update: Display the size of the trash prior to emptying
Authored by: sophistry on Feb 28, '03 02:27:59PM

I just realized a simple way to get the MB reading is to just use the built-
in ability of awk to do lots of amazing things that you alwys forget about:

du -sk ~/.trash | awk '{print $1/1024}'

does the trick.



[ Reply to This | # ]