简单shell脚本备忘

 

#!/bin/sh

num=0
while [ $num -le 255 ]
do
table_num=`printf %03d ${num}`
echo album_info_${table_num}
#mysqlimport -h localhost -ualbum -proot -P 5224 album -i -f --local album_info_${table_num}.txt
#sleep 10s
num=$[num+1]
done
05-06 07:07