find ./photos/john_doe -type f -name '*.jpg' -exec du -ch {} + | grep total$
If more than one invocation of `du` is required because the file list is very long, multiple totals will be reported and need to be summed.
find ./photos/john_doe -type f -name '*.jpg' -exec du -ch {} + | grep total$
If more than one invocation of `du` is required because the file list is very long, multiple totals will be reported and need to be summed.