William Pursell wrote:
> To get sizes, du is the obvious choice, but you
> could do the ridiculous:
> $ find . -type f -exec cat {} \; | wc -c
Since that performs a lot of disk I/O reading every byte of every file
I would much prefer using stat for this.
find . -type f -exec stat --format="%n: %s" {} +
Also, newer find commands implement the "{} +" action.
Bob