Bash script to operate fswebcam in timelapse mode