gphoto / libgphoto2

The libgphoto2 camera access and control library.
GNU Lesser General Public License v2.1
989 stars 316 forks source link

How to access different camras having the same name? #962

Closed outdoorbits closed 4 months ago

outdoorbits commented 4 months ago

Is your feature request related to a problem? Please describe. In my project little-backup-box) I can backup automatically multiple connected cameras, one by one. But this fails, if the cameras have the same model name. For example:

> gphoto2 --auto-detect
Model                          Port                                            
----------------------------------------------------------
Samsung EK-GC100               usb:001,005     
Samsung EK-GC100               usb:001,003

will not allow to get both cameras: > gphoto2 --camera "Samsung EK-GC100"

Describe the solution you'd like I can't find any option to use the port. Addressing model and port would be the solution.

Describe alternatives you've considered I just do single backups.

Additional context Thank you for this fantastic project!