#!/bin/sh
# copy all the lists, then save them under RCS in case they get zeroed
# due to partition filling or something like that.
# don't rcs the originals since we don't want to actually modify them...
PATH=$PATH:/usr/athena/bin
set -e
X=/usr/bin/xargs
cd /usr/local/majordomo/rsave
find ../lists -type f -print | egrep -v "archive|passwd" | $X -i_ cp _ .
ci -q -m"backup" -t/dev/null -l * 2>&1 | grep -v "not changed"
