Sum the size of *sh files in current directory (in bytes)
2012-02-27
− Maxime Biais
1 minute read
$ du -b *sh | awk '{sum += $1} END {print sum}' 3709