| | |
| | | |
| | | CUR_PATH=`pwd` |
| | | #echo ${CUR_PATH}"/"${SENDFILE} |
| | | #scp ${CUR_PATH}"/"${SENDFILE} basic@192.168.1.185:/home/basic/Apps/QiaoJiaSystem/build |
| | | #scp ${CUR_PATH}"/"${SENDFILE} basic@192.168.1.203:/home/basic/Apps/QiaoJiaSystem/build |
| | | |
| | | |
| | | sendFile() { |
| | | echo $1 |
| | | des_pass=123 |
| | | expect -c " |
| | | spawn scp ${CUR_PATH}"/"$1 basic@192.168.1.156:/home/basic/Apps/QiaoJiaSystem/build |
| | | # spawn scp -P41100 ${CUR_PATH}"/"$1 basic@58.118.225.79:/home/basic/Apps/QiaoJiaSystem/build |
| | | spawn scp ${CUR_PATH}"/"$1 basic@192.168.1.203:/home/basic/Apps/QiaoJiaSystem/build |
| | | expect \"password:\" |
| | | send \"${des_pass}\r\" |
| | | expect eof |
| | |
| | | sendFile RecordVideo |
| | | sendFile VideoAnalysFromHC |
| | | sendFile YoloServer |
| | | sendFile EncodeServer |
| | | sendFile killAll.sh |
| | | #sendFile runAll.sh |
| | | #sendFile runWebSer.sh |