Monday, February 13, 2012

leading zeros in wget loop

open the gnome-terminal


for i in {000{0..9},00{10..99}}; do echo $i; wget http://mydomain/$i.jpg; done

or


for i in {000{0..9},00{10..34}}
    do
        echo $i
        wget http://mydomain/$i.jpg
    done





No comments:

Post a Comment

About

Blogger templates