summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorst33v <github@f3rr3t.com>2015-12-31 20:42:32 +1100
committerst33v <github@f3rr3t.com>2015-12-31 20:42:32 +1100
commitf6dd7c2102459b2d83ef73127efc769c4199cbe1 (patch)
tree2cb32d7b8b43dce2978e37dcaff37cfbbdd2f2f5
parentb7842c5ee6448cb3452b8af3515e0a7be6de2bbf (diff)
initial commit of working script.
-rwxr-xr-xgetpix.sh9
-rw-r--r--spot-test.jpgbin0 -> 3351347 bytes
2 files changed, 9 insertions, 0 deletions
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
--- /dev/null
+++ b/spot-test.jpg
Binary files differ