#!/bin/sh url="https://nicholasjohnson.ch/old-dkim-privates" curl="curl --silent --fail -O" $curl "$url/mail.pem" i=1 while $curl "$url/dkim$i.pem"; do i=$((i+1)) done