Print the number of bytes of storage capacity the current directory recursively uses:
ls -lR $1 | grep -v ^d | awk ‘{total+=$5;} END {print total;}’
Jul 26
Jul 26
Print the number of bytes of storage capacity the current directory recursively uses:
ls -lR $1 | grep -v ^d | awk ‘{total+=$5;} END {print total;}’