diff options
| author | st33v <github@f3rr3t.com> | 2017-01-14 19:22:36 +1100 |
|---|---|---|
| committer | st33v <github@f3rr3t.com> | 2017-01-14 19:22:36 +1100 |
| commit | d76372b4695a047b188ac08fb32a6f16edaa353b (patch) | |
| tree | a01b3dbc3a809bb89746483291be4377ef845578 | |
| parent | 851f3b8ff25a919fe745a1fede3a8b321e1b93be (diff) | |
tarted up the bumpfile to include cam name
| -rwxr-xr-x | takepix.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,7 +15,7 @@ fi #echo camherder = $camherder picdate=$(date +%Y-%m-%d_%H%M) thispic=$picdir/$picdate.jpg -artist=$(hostname); artist=${artist,,} # force to lower case +artist=$(hostname) jpgQuality="90" # echo thispic = $thispic @@ -39,8 +39,8 @@ esac # Copy pic to STAN, and place it in proper subdirectory (which of course must exist on STAN). artist=${artist,,} # force to lower case scp $thispic $camherder/$artist/. -touch bump.txt # this will trigger the systemd PATH unit at the other end -scp bump.txt $camherder/. +touch bump-$artist # this will trigger the systemd PATH unit at the other end +scp bump-$artist $camherder/. rm $thispic # Note: we do no image processing on this pi, because it has so little RAM |
