diff options
| author | st33v <github@f3rr3t.com> | 2016-12-29 15:04:33 +1100 |
|---|---|---|
| committer | st33v <github@f3rr3t.com> | 2016-12-29 15:04:33 +1100 |
| commit | 6610463f97524004fc56736c1c7791013293322d (patch) | |
| tree | 01666643ae4b69b8c8726014c39d50cf3b32b364 /sendpix.sh | |
| parent | 98cc377d642fdf5dbba042ae793c8659d5ac875d (diff) | |
merged sendpix.sh into getpix.sh
Diffstat (limited to 'sendpix.sh')
| -rwxr-xr-x | sendpix.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sendpix.sh b/sendpix.sh deleted file mode 100755 index e597d6f..0000000 --- a/sendpix.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/bash -# SJP 22 Feb 2016 -# -# Send (copy) webcam pix from master repository (on the LAN) to remote computer with web server. -# This script is to be called from a systemd timer. - -# The name of the system that has the webcamn attached. -# While this is presently hard-coded, we can abstract this for laster iterations when there are more than one cam. -campi="neatherd" -# remote server -wanWebServer="f3rr3t.com" - -# select the most recent pic -newpic=$(ls -t ~/cams/$campi/ | head -1 ) - -scp /home/st33v/cams/$campi/$newpic $wanWebServer:/home/st33v/farm/cam/$campi/. - - -#exit(0) # force succes exit code for fussy systemd |
