#!/usr/bin/env bash
while true
do
list=(10240 51201 20480 12180 2560)
j=0
TIME=`date -d today +"%Y-%m-%d %H:%M:%S"`
for i in ${list[@]}
do
#rsync -auv --progress --bwlimit=$i 192.168.8.16::down /data1
rsync -auv --progress --bwlimit=$i 192.168.8.184::data4/aaa.img /data1/root.img
rm -fr /data1/root.img*
echo $i
echo $TIME".....Done"::$i>> /data1/log.logs
done
done