#!/bin/sh set -eu MIRROR=ftp://ftp2.de.debian.org/debian SUITES="wheezy jessie" for s in $SUITES; do mkdir -p installer-amd64/$s cd installer-amd64/$s wget -c -np -nH -m --cut-dirs=5 $MIRROR/dists/$s/main/installer-amd64/current/images/netboot cd - done