Calculate the Size of a Folder/Directory using .NET 4.0 (devcurry.com) 13 points by johnastuntz 15y ago ↗ HN
[–] mahmud 15y ago ↗ 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}' [–] johkra 15y ago ↗ Mh, I always use du -sh, are there any reasons (compatibility?) to grep the output instead? [–] mahmud 15y ago ↗ with gawk in the pipline, you can stream the results over fiber to a load-balanced cluster of WEDU (Windows Enterprise Disk Usage) appliances. [–] cottsak 15y ago ↗ agreed! hn is not for Hello World and this sure qualifies.
[–] johkra 15y ago ↗ Mh, I always use du -sh, are there any reasons (compatibility?) to grep the output instead? [–] mahmud 15y ago ↗ with gawk in the pipline, you can stream the results over fiber to a load-balanced cluster of WEDU (Windows Enterprise Disk Usage) appliances.
[–] mahmud 15y ago ↗ with gawk in the pipline, you can stream the results over fiber to a load-balanced cluster of WEDU (Windows Enterprise Disk Usage) appliances.
4 comments
[ 3.0 ms ] story [ 21.8 ms ] thread