Bash script to get the sizes of files by their types in a specified path.