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;
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;