#!/bin/bash # Example script. Remember, anything after the first line that starts with "#" is a comment. # Do this so you won't have to worry about missing path variables. Change to fit where it lives: GPHOTO=/path/to/gphoto2 # First thing $GPHOTO --shell param1,param2 # Optionally, wait five seconds sleep 5 # and so on... $GPHOTO --shell param1,param2