#!/bin/sh # # This script will test all the mailinglist archives on freefall # for (in)consistency. Stdout gets discarded; stderr gets redirected # to ~/archive-errors. # cd /local/mail/archive ; for i in 19*/*/*.gz 20*/*/*.gz; do zcat $i > /dev/null 2> ~/archive-errors; done