I'd like to know the distribution of file sizes under a certain directory.
Please note: distribution of file sizes, not size of a directory. That means I want to know there are 25 files of 60 bytes, 50 files of 12587 bytes, 2 files of 57kbytes, and so on.
Bonus points if the data could be gathered via command line (eg. on a remote system) in a format easily useable to produce graphs.