Created
September 1, 2021 18:43
-
-
Save jiggak/f9e4778f9afc23b85552aab4fa80b1ad to your computer and use it in GitHub Desktop.
Timelapse photos using gphoto2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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