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 "https://www.example.com/folder/picture${i}.jpg"; done

Comments

Leave a Reply