Find all files with the extension ".jpg" in the current directory and up to 5 levels of subdirectories, and change the permissions of those files to 644.
find / -iname '*.jpg' -type f -maxdepth 5 | xargs chmod 644