From f6dd7c2102459b2d83ef73127efc769c4199cbe1 Mon Sep 17 00:00:00 2001 From: st33v Date: Thu, 31 Dec 2015 20:42:32 +1100 Subject: initial commit of working script. --- getpix.sh | 9 +++++++++ spot-test.jpg | Bin 0 -> 3351347 bytes 2 files changed, 9 insertions(+) create mode 100755 getpix.sh create mode 100644 spot-test.jpg diff --git a/getpix.sh b/getpix.sh new file mode 100755 index 0000000..3e77f15 --- /dev/null +++ b/getpix.sh @@ -0,0 +1,9 @@ +#!/usr/bin/bash +# SJP 30 Dec 2015 +# +# Copy photos from a cam-equipped raspi + +campi="neatherd" + +scp $campi:/home/st33v/pix/*.jpg /home/st33v/cams/$campi/. +ssh $campi "rm /home/st33v/pix/*.jpg" diff --git a/spot-test.jpg b/spot-test.jpg new file mode 100644 index 0000000..3aca075 Binary files /dev/null and b/spot-test.jpg differ -- cgit v1.3