Last active
March 10, 2016 08:11
-
-
Save FilipDominec/6c9b3af9f6b622d80846 to your computer and use it in GitHub Desktop.
When a digital camera is connected to your computer, it automatically downloads and displays the last shot.
This file contains hidden or 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 | |
cd /home/SLIDESHOW | |
sleep 60 | |
gphoto2 --capture-tethered --keep & | |
# geeqie -f latest/slideshow.jpg & | |
geeqie -f -s & | |
while true ; do cp `ls *JPG -1tr | tail -n 1` latest/slideshow.jpg ; sleep 2 ; done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment