upload_calendar.sh 156 B

12345678
  1. #!/bin/sh
  2. if [ "$1" == "" ]; then
  3. echo "ERROR: expecting address to upload"
  4. exit
  5. fi
  6. rsync -va calendar-card/calendar.js root@$1:/usr/bin/js/calendar.js