Authored by Rong

add by shell

@@ -13,8 +13,8 @@ GOR_PATH=/opt/gorLog @@ -13,8 +13,8 @@ GOR_PATH=/opt/gorLog
13 13
14 for ip in ${IPS[@]} 14 for ip in ${IPS[@]}
15 do 15 do
16 - echo "scp $GOR_LOG_PATH ${ip}:$GOR_PATH"  
17 - scp -r $GOR_PATH ${ip}:$GOR_PATH 16 + echo "scp $GOR_LOG_PATH ${ip}:$GOR_PATH ############################################# $ip"
  17 + scp -r $GOR_PATH/*.gz ${ip}:$GOR_PATH
18 done 18 done
19 #ssh $IP "mkdir -p ${GOR_PATH}" 19 #ssh $IP "mkdir -p ${GOR_PATH}"
20 #\scp $GOR_LOG_PATH ${IP}:$GOR_PATH 20 #\scp $GOR_LOG_PATH ${IP}:$GOR_PATH