Find total filesize of all WAV files in a directory using command line tools

Use this command to find the total file size of all .wav files (including .WAV files)

find . -name "*.wav" -or -name "*.WAV" -exec du -ch {} + | tail -n 1

Example output:

6,7G    total