I have a large set of directories for which I\'m trying to calculate the sum total size of several hundred .txt files. I tried this, which mostly works:
fin
Another simple solution:
find . -name *.txt -print0 | xargs -0 du -hc