gphoto2

Command-line tool to control digital cameras and access their files

brewmacoslinux
Try with needOr install directly
Source

About

Command-line interface to libgphoto2

Commands

gphoto2

Examples

List all connected cameras$ gphoto2 --list-cameras
Download all photos from camera to current directory$ gphoto2 --get-all-files
Capture a photo and save it to disk$ gphoto2 --capture-image-and-download