#!/bin/bash set -e scp favicon.ico plot.py read_sensors.py water_the_plant create_backup make_photo index.html history.html *.png robert@waterpi: ssh robert@waterpi -C '\ sudo cp favicon.ico index.html history.html *.png /var/www/html; \ sudo chown www-data:www-data /var/www/html/*.html /var/www/html/*.png; \ sudo cp plot.py read_sensors.py create_backup make_photo read_temperature.py water_the_plant /usr/local/bin'