How to run a for loop in the Terminal; wget sequence for loop

This will download a sequence of pictures from picture1.jpg to picture10.jpg from example.com:

for i in $(seq 10); do wget "http://example.com/folder/picture$i.jpg"; done
Did this help you? Please let me know with a comment. Thank you
Posted .

Comments (RSS)

Leave a comment