for a-z in bash shell

for x in {a..z}
do
    echo "$x"
    mkdir -p path2/${x}
    mv path1/${x}*.ext path2/${x}
done

One line with upper case example:

for letter in {A..Z} ; do wget http://www.abc.com/Letter_${letter}_Cap.gif;done;
添加评论
取消
*
*
*
*
勇士!消灭0条评论,这么艰巨的任务就靠你了!