标签:done bash 模型 span download code div eid color
#!/bin/bash parallel=10 fileArr=(`ls -1 fileid/pre*`) for ((i=0; i<${#fileArr[*]}; i+=$parallel)); do for ((j=$i; j<$i+$parallel; j++)); do if (($j<${#fileArr[*]})); then python offline_download.pyc -f ${fileArr[$j]} & fi done wait done
标签:done bash 模型 span download code div eid color
原文地址:https://www.cnblogs.com/fangzw/p/12634626.html