#!/bin/sh

cd /mnt/mirrors/nextstuff

# ftp.cs-tu.berlin.edu (I think)
# ftp.peanuts.org
# OmniGroup

# FTP
wget -m ftp://ftp.idsoftware.com/idstuff/doom/nextstep

wget -m ftp://ftp.funet.fi/pub/NeXT

wget -m ftp://next-ftp.peak.org/next
# fix the URLs in this so the images show up
pushd .
cd next-ftp.peak.org/next \
&& cp -a index.html index.ORIG.html \
&& sed 's/SRC="\/next/SRC="..\/next\//' index.ORIG.html > index.html
popd

# HTTP
wget -m http://hartley.cc.purdue.edu/NeXT/disktab/Index.html

