deploy_webroot.sh 167 B

1234567
  1. #!/bin/bash
  2. port=22
  3. host=192.168.8.136
  4. path=/home/zlg/meter
  5. target=web_root
  6. echo "Copy $target"
  7. rsync -av --update --progress -e "ssh -p $port" $target zlg@$host:$path