«

»

Jul 26

du without the du command

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;}’

Leave a Reply