find . -name '*.HEIC' | xargs -I {} mogrify -format jpg -quality 95% {}
- “mogrify” is from the mighty imagemagick package
- Be careful with experimenting. “mogrify” is designed to REPLACE original files with the converted ones. Hence, the format option is CRUCIAL here.