Skip to content

Instantly share code, notes, and snippets.

@jiggak
Created September 1, 2021 18:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jiggak/f9e4778f9afc23b85552aab4fa80b1ad to your computer and use it in GitHub Desktop.
Save jiggak/f9e4778f9afc23b85552aab4fa80b1ad to your computer and use it in GitHub Desktop.
Timelapse photos using gphoto2
#!/bin/bash
count=0
while true; do
gphoto2 --filename capture-$(printf "%05d" $count).jpg --capture-image-and-download
count=$(($count + 1))
sleep 30
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment