This is CLI application for get exif information from JPEG image on macOS.
git clone https://github.com/fromkk/GetExif.git
cd ./GetExif
swift build
.build/arm64-apple-macosx/debug/GetExif ${YOUR_JPEG_FILE_PATH}
You can get information like this.
DC-S5M2 Panasonic
28 - 70mm F2.8 DG DN | Contemporary 021
70mm f/5.6 1/100s ISO100