Calculate the Size of a Folder/Directory using .NET 4.0
1–5 of 5 posts
Re: Calculate the Size of a Folder/Directory using .NET 4.0
#2Why 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
#3Why is this here again? Some kind of advanced "Directory Enumerator" tech that we haven't heard of? du -h | grep -v '/' | gawk '{print $1}'
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
#4Why is this here again? Some kind of advanced "Directory Enumerator" tech that we haven't heard of? du -h | grep -v '/' | gawk '{print $1}'
agreed! hn is not for Hello World and this sure qualifies.
Re: Calculate the Size of a Folder/Directory using .NET 4.0
#5Why is this here again? Some kind of advanced "Directory Enumerator" tech that we haven't heard of? du -h | grep -v '/' | gawk '{print $1}'
Mh, I always use du -sh , are there any reasons (compatibility?) to grep the output instead?
with gawk in the pipline, you can stream the results over fiber to a load-balanced cluster of WEDU (Windows Enterprise Disk Usage) appliances.