upload_weather.sh 285 B

12345678910
  1. #!/bin/sh
  2. if [ "$1" == "" ]; then
  3. echo "ERROR: expecting address to upload"
  4. exit
  5. fi
  6. rsync -va weather-card/weather.js root@$1:/usr/bin/js/weather.js
  7. rsync -va oboo-runtime/js/yahooWeather.js root@$1:/usr/bin/js/yahooWeather.js
  8. rsync -va weather-card/img/bin/ root@$1:/usr/bin/img/