Calculate the Size of a Folder/Directory using .NET 4.0 (devcurry.com) 13 points by johnastuntz 16y ago ↗ HN
[–] mahmud 16y 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 16y ago ↗ Mh, I always use du -sh, are there any reasons (compatibility?) to grep the output instead? [–] mahmud 16y 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 16y ago ↗ agreed! hn is not for Hello World and this sure qualifies.
[–] johkra 16y ago ↗ Mh, I always use du -sh, are there any reasons (compatibility?) to grep the output instead? [–] mahmud 16y 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 16y 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.4 ms ] story [ 33.5 ms ] thread