for i in {0..49}
do
printf "cp csv2drds-TF_B_PAYLOG_D.json x%02d.json\n " $i|sh
filename=`printf "x%02d" $i`
jsonname=`printf "x%02d.json" $i`
sed -i 's/\/tmp\/ditagent\/TF_B_PAYLOG_D.csv/\/vdata\/datapre\/281\/'"$filename"'/g' $jsonname
echo 'nohup python datax.py ./'"$jsonname"' > '"$filename"'.log 2>&1 &'
done
网友评论