#!/bin/bash for i in $(echo "for (i=1;i<=13;i++) i*1000"| bc) do wget "https://www.quebec511.info/fr/Diffusion/EtatReseau/TravauxGps.aspx?idreg=${i}&p=0&action=gps" \ --output-document="travaux_gps_${i}.gpx" done