I need to find the total size of one type of file within a directoy recursively.
This is what I'm using but it's not giving me the correct total size.
find . -name *.gz -print|xargs du -hc
Can anyone think of another way to do it?
I'm on RH EL3.0
Thanks in advance