urls=( http://xxx/498.jpg http://xxx/103.jpg http://xxx/442.jpg ) start=$(date +%s) for i in ${urls[@]};do wget -P /mnt/www/pic $i done end=$(date +%s) echo $((end - start))