#!/bin/bash for i in {1..100}; do printf -v n %03d $i wget "$prefix$n.jpg" sleep 5 done