Skip to content

Instantly share code, notes, and snippets.

@jose-d
Created January 9, 2016 12:50
Show Gist options
  • Save jose-d/429d3938684859bb4e9d to your computer and use it in GitHub Desktop.
Save jose-d/429d3938684859bb4e9d to your computer and use it in GitHub Desktop.
#!/bin/bash
date=$(date +"%y-%m-%d_%H:%M")
raspistill -o "/home/jose/cam${date}.jpg" &
sleep 30
date=$(date +"%y-%m-%d_%H:%M")
raspistill -o "/home/jose/cam${date}_5.jpg" &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment