#!/bin/bash DATE=$(date +%y%m%d_%H%M%S) raspistill -o /ramfs/$DATE.jpg echo "Picz $DATE.jpg saved in RAM" cp /ramfs/$DATE.jpg ~/_Pictures echo "Picz $DATE.jpg saved to SDCARD"