Posted By

ches on 07/28/08


Tagged

Bash awk


Versions (?)

Compute Directory Size Recursively with du


 / Published in: Bash
 

URL: http://www.unix.com/unix-dummies-questions-answers/54238-directory-size-ls-l.html

  1. du . | awk '{sum+=$1} END {printf("%12.0f\n", sum*512)}'

Report this snippet  

You need to login to post a comment.