a very simple shell in C for mac to control libgphoto2