lwzm
2/23/2016 - 5:57 AM

mkdirs_256x256.sh

mkdirs_256x256.sh

N=255

dirs2=$(
for i in $(seq 0 $N); do
    printf "%.2x " $i
done
)

for i in $(seq 0 $N); do
    dir=$(printf "%.2x" $i)
    mkdir -p $dir && cd $dir
    pwd
    mkdir -p $dirs2
    cd ..
done