Skip to content

Instantly share code, notes, and snippets.

@raulperula
Created April 24, 2016 14:14
Show Gist options
  • Save raulperula/9d8b43fadeda7c263d3e3e79dcbeb37e to your computer and use it in GitHub Desktop.
Save raulperula/9d8b43fadeda7c263d3e3e79dcbeb37e to your computer and use it in GitHub Desktop.
#!/bin/bash
DATE=$(date + "%Y-%m-%d_%H%M")
raspistill -vf -hf -o /home/pi/camera/$DATE.jpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment