Compute Directory Size Recursively with du


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. du . | awk '{sum+=$1} END {printf("%12.0f\n", sum*512)}'

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

Report this snippet


Comments


You need to login to view comments.