News for hackers. Stuff that matters.
Re:Calculate the Size of a Folder/Directory using .NET 4.0 by mahmud on Thursday July 29, 2010 @08:53AM (#1557384)
Why is this here again? Some kind of advanced "Directory Enumerator" tech that we haven't heard of?

  du -h | grep -v '/' | gawk '{print $1}'
Re:Calculate the Size of a Folder/Directory using .NET 4.0 by johkra on Thursday July 29, 2010 @09:41AM (#1557490)
Mh, I always use du -sh, are there any reasons (compatibility?) to grep the output instead?
Re:Calculate the Size of a Folder/Directory using .NET 4.0 by mahmud on Thursday July 29, 2010 @10:41AM (#1557697)
with gawk in the pipline, you can stream the results over fiber to a load-balanced cluster of WEDU (Windows Enterprise Disk Usage) appliances.
Re:Calculate the Size of a Folder/Directory using .NET 4.0 by cottsak on Thursday July 29, 2010 @09:58AM (#1557553)
agreed! hn is not for Hello World and this sure qualifies.